From 18b23bba5d8d19816cd026665e28ca029086c3be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Sun, 12 Jun 2005 15:13:04 +0000 Subject: [PATCH] - gcc4 fix. Changed files: ckermit-gcc4.patch -> 1.1 ckermit.spec -> 1.25 --- ckermit-gcc4.patch | 13 +++++++++++++ ckermit.spec | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 ckermit-gcc4.patch diff --git a/ckermit-gcc4.patch b/ckermit-gcc4.patch new file mode 100644 index 0000000..7bafc2c --- /dev/null +++ b/ckermit-gcc4.patch @@ -0,0 +1,13 @@ +--- ckermit-8.0.211/ck_crp.c.orig 2004-03-14 18:05:52.000000000 +0100 ++++ ckermit-8.0.211/ck_crp.c 2005-06-12 17:07:45.000000000 +0200 +@@ -467,8 +467,8 @@ + * These function pointers point to the current routines + * for encrypting and decrypting data. + */ +-static VOID (*encrypt_output) P((unsigned char *, int)); +-static int (*decrypt_input) P((int)); ++VOID (*encrypt_output) P((unsigned char *, int)); ++int (*decrypt_input) P((int)); + + #ifdef DEBUG + static int encrypt_debug_mode = 1; diff --git a/ckermit.spec b/ckermit.spec index e670e3e..93f111f 100644 --- a/ckermit.spec +++ b/ckermit.spec @@ -14,6 +14,7 @@ Source3: cku-%{name}.locale.ini Source4: cku-%{name}.phone Patch0: cku-ssl-krb-srp.patch.gz Patch1: cku-makefile.patch +Patch2: %{name}-gcc4.patch URL: http://www.columbia.edu/kermit/ BuildRequires: pam-devel BuildRequires: openssl-devel >= 0.9.7d @@ -38,6 +39,7 @@ komunikacyjnych. %setup -q -c #%patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__make} linux-PLD+ssl+pam OPT="%{rpmcflags}" LNKFLAGS="%{rpmldflags}" -- 2.43.0