aboutsummaryrefslogtreecommitdiffstats
path: root/www/chpasswd
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-09-23 15:19:35 +0800
committerdanfe <danfe@FreeBSD.org>2004-09-23 15:19:35 +0800
commit8b3b894ce7c6da527970b45a17f4d03de867d1db (patch)
tree1c79e86f1a09c8801ba785bca36977279bc7a1fa /www/chpasswd
parent6d87230843e28c51dffceafb8e27845176f96b61 (diff)
downloadfreebsd-ports-graphics-8b3b894ce7c6da527970b45a17f4d03de867d1db.tar.gz
freebsd-ports-graphics-8b3b894ce7c6da527970b45a17f4d03de867d1db.tar.zst
freebsd-ports-graphics-8b3b894ce7c6da527970b45a17f4d03de867d1db.zip
Unbreak the build with recent GCC.
Reported by: kris Approved by: portmgr (marcus), fjoe (mentor, implicit), maintainer
Diffstat (limited to 'www/chpasswd')
-rw-r--r--www/chpasswd/Makefile8
-rw-r--r--www/chpasswd/files/patch-chpasswd.c19
2 files changed, 20 insertions, 7 deletions
diff --git a/www/chpasswd/Makefile b/www/chpasswd/Makefile
index 223ede1b084..be9348a6411 100644
--- a/www/chpasswd/Makefile
+++ b/www/chpasswd/Makefile
@@ -21,16 +21,10 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/etc/chpasswd \
--enable-language=English \
--enable-cgidir=${PREFIX}/www/cgi-bin
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
pre-install:
@${MKDIR} ${PREFIX}/www/cgi-bin
post-install:
@${ECHO} 'Remember, passwd and log file must be owned by httpd user, or chmod 777'
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/chpasswd/files/patch-chpasswd.c b/www/chpasswd/files/patch-chpasswd.c
new file mode 100644
index 00000000000..13b2872d076
--- /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[];
3a95e6c9d5b9e'>- Update to 0.13.6sat2007-05-012-4/+4 * - Update to 0.13.4sat2007-04-032-6/+5 * - Remove remaining pcre-utf8 chaffsat2007-03-121-9/+0 * Remove devel/pcre-utf8 and enable UTF8 support in devel/pcre bykrion2007-03-121-1/+2 * - Update to 0.13.2sat2007-02-183-4/+5