diff options
author | arved <arved@FreeBSD.org> | 2004-06-13 06:40:49 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-06-13 06:40:49 +0800 |
commit | 8d06ca2cb831e86d34dabdbc752ebcc914383f66 (patch) | |
tree | 66c420b48e8d8aeaaa5ca88c351e9a6beaf3f7e0 /news/rkive | |
parent | 0ed081f0b69645923eaab7d6ea85f062be0e1191 (diff) | |
download | freebsd-ports-gnome-8d06ca2cb831e86d34dabdbc752ebcc914383f66.tar.gz freebsd-ports-gnome-8d06ca2cb831e86d34dabdbc752ebcc914383f66.tar.zst freebsd-ports-gnome-8d06ca2cb831e86d34dabdbc752ebcc914383f66.zip |
Fix build with gcc34
Diffstat (limited to 'news/rkive')
-rw-r--r-- | news/rkive/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/news/rkive/Makefile b/news/rkive/Makefile index b749ccc6a181..b1b55d24f75e 100644 --- a/news/rkive/Makefile +++ b/news/rkive/Makefile @@ -19,9 +19,18 @@ NO_CDROM= "Don't make money from it" MAN1= rkive.1 article.1 ckconfig.1 MAN5= rkive.5 MANCOMPRESSED= yes +USE_REINPLACE= yes pre-patch: @${CP} ${WRKSRC}/Makefile.dst ${WRKSRC}/Makefile @${CP} ${WRKSRC}/rkive.h.dst ${WRKSRC}/rkive.h +post-patch: + ${REINPLACE_CMD} -e "s,^int fprintf();,," ${WRKSRC}/header.c \ + ${WRKSRC}/rkive.h ${WRKSRC}/version.c ${WRKSRC}/efopen.c + ${REINPLACE_CMD} -e "s,^int sscanf();,," ${WRKSRC}/setup.c \ + ${WRKSRC}/record_arc.c + ${REINPLACE_CMD} -e "s,int mkdir();,," ${WRKSRC}/makedir.c + ${REINPLACE_CMD} -e "s,int chmod();,," ${WRKSRC}/rkive.c + .include <bsd.port.mk> |