aboutsummaryrefslogtreecommitdiffstats
path: root/net/mknbi
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-29 14:03:32 +0800
committerdanfe <danfe@FreeBSD.org>2007-06-29 14:03:32 +0800
commit2f75bbe0e30bb876f0f306c8e71213ccbdd7a233 (patch)
tree2c32b42fd6487cedc9c61e3a3b6640cb40b4d350 /net/mknbi
parent37f8d1786304aa3f0cb46a15890073bd2e9ccc78 (diff)
downloadfreebsd-ports-gnome-2f75bbe0e30bb876f0f306c8e71213ccbdd7a233.tar.gz
freebsd-ports-gnome-2f75bbe0e30bb876f0f306c8e71213ccbdd7a233.tar.zst
freebsd-ports-gnome-2f75bbe0e30bb876f0f306c8e71213ccbdd7a233.zip
Fix the build with contemporary GCC.
Reported by: pointyhat (logs)
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>