aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-09-29 00:31:06 +0800
committerpav <pav@FreeBSD.org>2006-09-29 00:31:06 +0800
commit77fc8c17eccd375afc48d671ff7aaa36db7a69b8 (patch)
tree7ff1f5705b79daa5db9b3578e34a5067b511e96a
parenta8301f1168ba13b9ec151aaebd8722bec521d859 (diff)
downloadfreebsd-ports-gnome-77fc8c17eccd375afc48d671ff7aaa36db7a69b8.tar.gz
freebsd-ports-gnome-77fc8c17eccd375afc48d671ff7aaa36db7a69b8.tar.zst
freebsd-ports-gnome-77fc8c17eccd375afc48d671ff7aaa36db7a69b8.zip
- Fix build with gcc41
PR: ports/103748 Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
-rw-r--r--comms/kermit/files/patch-ck__crp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/kermit/files/patch-ck__crp.c b/comms/kermit/files/patch-ck__crp.c
index 2c060188c63a..760bf8dc9c05 100644
--- a/comms/kermit/files/patch-ck__crp.c
+++ b/comms/kermit/files/patch-ck__crp.c
@@ -12,3 +12,14 @@ $FreeBSD$
return(rc);
}
+@@ -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;