summaryrefslogtreecommitdiff
path: root/security/courier-authlib
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2007-05-31 17:48:06 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2007-05-31 17:48:06 +0000
commited26d2aab5e4c2af6e6ade85ed1490f769ab189f (patch)
treed5e1574dad4df1374c05d41997c5fd9fd6642eb7 /security/courier-authlib
parentAdd conflicts with xf86-video-intel. (diff)
fix the build for gcc 4.2 when compiling courier-authlib-vchkpw
Diffstat (limited to 'security/courier-authlib')
-rw-r--r--security/courier-authlib/files/patch-authvchkpw.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/courier-authlib/files/patch-authvchkpw.c b/security/courier-authlib/files/patch-authvchkpw.c
new file mode 100644
index 000000000000..b726354b1b0d
--- /dev/null
+++ b/security/courier-authlib/files/patch-authvchkpw.c
@@ -0,0 +1,12 @@
+--- authvchkpw.c.orig Thu May 31 07:04:07 2007
++++ authvchkpw.c Thu May 31 07:03:44 2007
+@@ -28,6 +28,9 @@
+ int (*callback)(struct authinfo *, void *),
+ void *arg);
+
++static int auth_vchkpw_login(const char *service, char *authdata,
++ int (*callback_func)(struct authinfo *, void *), void *callback_arg);
++
+ extern FILE *authvchkpw_file(const char *, const char *);
+
+ struct callback_info {