aboutsummaryrefslogtreecommitdiffstats
path: root/editors/nvi-devel/Makefile
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-12-05 08:03:50 +0800
committerlinimon <linimon@FreeBSD.org>2007-12-05 08:03:50 +0800
commit1af404103ab26b18ad307bebe1bc82776f47ca83 (patch)
treeb5cfcb75df495a462a5cafb2271ffa613ad39388 /editors/nvi-devel/Makefile
parent342297cdccadf9f11a33dd27270a323a772313c8 (diff)
downloadfreebsd-ports-graphics-1af404103ab26b18ad307bebe1bc82776f47ca83.tar.gz
freebsd-ports-graphics-1af404103ab26b18ad307bebe1bc82776f47ca83.tar.zst
freebsd-ports-graphics-1af404103ab26b18ad307bebe1bc82776f47ca83.zip
Attempt to fix build on 7.x with gcc4.2.
PR: ports/118077 Submitted by: "J.R. Oldroyd" <fbsd at opal dot com> Approved by: portmgr (self)
Diffstat (limited to 'editors/nvi-devel/Makefile')
-rw-r--r--editors/nvi-devel/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/editors/nvi-devel/Makefile b/editors/nvi-devel/Makefile
index 83c78868d59..e6429686414 100644
--- a/editors/nvi-devel/Makefile
+++ b/editors/nvi-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nvi
PORTVERSION= 1.81.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= editors
MASTER_SITES= http://193.190.253.81/~skimo/nvi/devel/ \
${MASTER_SITE_LOCAL}
@@ -30,7 +30,14 @@ MAN1= ex.1 vi.1 view.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
-BROKEN= Broken with gcc 4.2
+EXTRA_PATCHES+= \
+ files/extra-patch-cl-cl.h \
+ files/extra-patch-cl-cl_funcs.c \
+ files/extra-patch-cl-cl_screen.c \
+ files/extra-patch-common-db.c \
+ files/extra-patch-common-key.c \
+ files/extra-patch-common-mem.h \
+ files/extra-patch-vi-v_txt.c
.endif
# XXX: nvi doesn't really need sys/select.h, but I don't think the