summaryrefslogtreecommitdiffstats
path: root/www/chpasswd/files
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-09-23 07:19:35 +0000
committerdanfe <danfe@FreeBSD.org>2004-09-23 07:19:35 +0000
commit8b3b894ce7c6da527970b45a17f4d03de867d1db (patch)
tree1c79e86f1a09c8801ba785bca36977279bc7a1fa /www/chpasswd/files
parent6d87230843e28c51dffceafb8e27845176f96b61 (diff)
downloadFreeBSD-ports-8b3b894ce7c6da527970b45a17f4d03de867d1db.zip
FreeBSD-ports-8b3b894ce7c6da527970b45a17f4d03de867d1db.tar.gz
Unbreak the build with recent GCC.
Reported by: kris Approved by: portmgr (marcus), fjoe (mentor, implicit), maintainer
Diffstat (limited to 'www/chpasswd/files')
-rw-r--r--www/chpasswd/files/patch-chpasswd.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/chpasswd/files/patch-chpasswd.c b/www/chpasswd/files/patch-chpasswd.c
new file mode 100644
index 0000000..13b2872
--- /dev/null
+++ b/www/chpasswd/files/patch-chpasswd.c
@@ -0,0 +1,19 @@
+--- chpasswd.c.orig Fri Apr 11 01:54:02 2003
++++ chpasswd.c Wed Sep 22 15:46:47 2004
+@@ -23,6 +23,16 @@
+ static void vrfyauth(IpAuth,PwdLogFile,PwdFile,SmtpUser,SmtpSubject);
+ eperror(s);
+
++void getword(char *, char *, char);
++void Herror(char *);
++void Hmsg(char *);
++void putline(FILE *, char *);
++void Changed(char *, char *, char *, char *, char *, char *, char *);
++void NotFound(char *, char *, char *, char *, char *, char *, char *);
++void rulefail(char *, char *, char *);
++static void strip_latin(char *);
++void sendmail(char *, char *, char *);
++
+ main(argc, argv)
+ int argc;
+ char *argv[];
OpenPOWER on IntegriCloud