summaryrefslogtreecommitdiff
path: root/net/mknbi
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-29 06:03:32 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-29 06:03:32 +0000
commit8af197babebcfe87510b8a3e059ed12afa633b4a (patch)
tree3d5afe486ba3e6c25bfaaea6a1dd2f1f0dbeee95 /net/mknbi
parent- Fix the build with GCC 4.2 [1] (diff)
Fix the build with contemporary GCC.
Reported by: pointyhat (logs)
Notes
Notes: svn path=/head/; revision=194429
Diffstat (limited to 'net/mknbi')
-rw-r--r--net/mknbi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mknbi/Makefile b/net/mknbi/Makefile
index fedeb005a3b0..467ed85aef6b 100644
--- a/net/mknbi/Makefile
+++ b/net/mknbi/Makefile
@@ -29,4 +29,8 @@ USE_GMAKE= yes
USE_PERL5= yes
ONLY_FOR_ARCHS= i386
+post-patch:
+ @${REINPLACE_CMD} -e 's,^static int terminal,int terminal,' \
+ ${WRKSRC}/nfl.c
+
.include <bsd.port.mk>