diff options
author | danfe <danfe@FreeBSD.org> | 2007-06-28 20:31:38 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-06-28 20:31:38 +0000 |
commit | ac1a21c448307f6c4bfb808a75126b031b4e7143 (patch) | |
tree | 454ef66b8b17452f401f2ad90ee58970ea65f158 | |
parent | 8033af4184b5e76c60758dc3d45b271ecec0de5c (diff) | |
download | FreeBSD-ports-ac1a21c448307f6c4bfb808a75126b031b4e7143.zip FreeBSD-ports-ac1a21c448307f6c4bfb808a75126b031b4e7143.tar.gz |
Fix the build with trendy GCC.
Reported by: pointhat (logs)
-rw-r--r-- | dns/staticcharge/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dns/staticcharge/Makefile b/dns/staticcharge/Makefile index 5d6f195..b75de14 100644 --- a/dns/staticcharge/Makefile +++ b/dns/staticcharge/Makefile @@ -20,7 +20,6 @@ BUILD_DEPENDS= wget:${PORTSDIR}/ftp/wget PLIST_FILES= bin/staticcharge WRKSRC= ${WRKDIR}/staticcharge USE_GNOME= gtk12 -USE_X_PREFIX= yes GNU_CONFIGURE= yes USE_GMAKE= yes @@ -28,6 +27,11 @@ USE_GMAKE= yes CONFIGURE_ARGS+= --enable-debug .endif +post-patch: + @${REINPLACE_CMD} -E 's,\(int\)([[:graph:]]+) = ,\1 = (char *),' \ + ${WRKSRC}/src/checkexe.c ${WRKSRC}/src/checkip.c \ + ${WRKSRC}/src/getfields.c + post-install: @${CAT} ${PKGMESSAGE} |