diff options
author | danfe <danfe@FreeBSD.org> | 2007-06-29 04:31:38 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-06-29 04:31:38 +0800 |
commit | ac1a21c448307f6c4bfb808a75126b031b4e7143 (patch) | |
tree | 454ef66b8b17452f401f2ad90ee58970ea65f158 /dns/staticcharge | |
parent | 8033af4184b5e76c60758dc3d45b271ecec0de5c (diff) | |
download | freebsd-ports-graphics-ac1a21c448307f6c4bfb808a75126b031b4e7143.tar.gz freebsd-ports-graphics-ac1a21c448307f6c4bfb808a75126b031b4e7143.tar.zst freebsd-ports-graphics-ac1a21c448307f6c4bfb808a75126b031b4e7143.zip |
Fix the build with trendy GCC.
Reported by: pointhat (logs)
Diffstat (limited to 'dns/staticcharge')
-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 5d6f19531a0..b75de141cce 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} |