diff options
author | dinoex <dinoex@FreeBSD.org> | 2006-10-08 03:17:13 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2006-10-08 03:17:13 +0800 |
commit | f201533c0c7ccf3904c82d9f8e6a580540d6722a (patch) | |
tree | 95a979bfd843ab48596c6052db402fdbdb48c0e7 /news/fidogate | |
parent | f129bcad9257fcc55b329cddd30379d63d6cbe27 (diff) | |
download | freebsd-ports-gnome-f201533c0c7ccf3904c82d9f8e6a580540d6722a.tar.gz freebsd-ports-gnome-f201533c0c7ccf3904c82d9f8e6a580540d6722a.tar.zst freebsd-ports-gnome-f201533c0c7ccf3904c82d9f8e6a580540d6722a.zip |
- fix build with gcc41
Diffstat (limited to 'news/fidogate')
-rw-r--r-- | news/fidogate/Makefile | 3 | ||||
-rw-r--r-- | news/fidogate/files/patch-rfc2ftn.c | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/news/fidogate/Makefile b/news/fidogate/Makefile index 83e16ba6dbf2..9ee1a6cbf372 100644 --- a/news/fidogate/Makefile +++ b/news/fidogate/Makefile @@ -28,6 +28,8 @@ DOCLIST= fidogate.texi fidogate.txt gatebau94.txt kludge-rfc.doc \ template.html fido howto misc rfc gatebau/msgid.sgml \ gatebau/msgid.tex gatebau/msgid.txt +MAKE_ENV+= CC=${CC} + .include <bsd.port.pre.mk> .if ${OSVERSION} > 500000 @@ -39,6 +41,7 @@ pre-configure: ${RM} -f ${WRKSRC}/doc/fidogate.info-? ${RM} -f ${WRKSRC}/doc/fidogate.txt @${PERL5} -pi -e "s=.{PREFIX}=${PREFIX}=g" ${WRKSRC}/config.make + @${PERL5} -pi -e "s=^CC=#CC=" ${WRKSRC}/config.make .if defined(FIDOGATE_RUNAS) @${PERL5} -pi -e "s/OWNER.*= news/OWNER = ${FIDOGATE_RUNAS}/" \ ${WRKSRC}/config.make diff --git a/news/fidogate/files/patch-rfc2ftn.c b/news/fidogate/files/patch-rfc2ftn.c new file mode 100644 index 000000000000..6115860f5135 --- /dev/null +++ b/news/fidogate/files/patch-rfc2ftn.c @@ -0,0 +1,11 @@ +--- src/gate/rfc2ftn.c.orig Sun Aug 22 22:19:12 2004 ++++ src/gate/rfc2ftn.c Sat Oct 7 21:06:14 2006 +@@ -99,7 +99,7 @@ + static char *o_flag = NULL; /* -o --out-packet-file */ + static char *w_flag = NULL; /* -w --write-outbound */ + static int W_flag = FALSE; /* -W --write-crash */ +-static int i_flag = FALSE; /* -i --ignore-hosts */ ++int i_flag = FALSE; /* -i --ignore-hosts */ + + static int maxmsg = 0; /* Process maxmsg messages */ + |