summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-10-07 10:02:13 +0000
committerdanfe <danfe@FreeBSD.org>2004-10-07 10:02:13 +0000
commitad4023f783dc19660fe5b73a822efd5f69998a89 (patch)
tree364361165fea2180d160414e8d0fe0b3bf2bd5dd
parentfc4161729a6b40899d5987dbb745f0c180623586 (diff)
downloadFreeBSD-ports-ad4023f783dc19660fe5b73a822efd5f69998a89.zip
FreeBSD-ports-ad4023f783dc19660fe5b73a822efd5f69998a89.tar.gz
Unbreak on 5.X and -CURRENT.
Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit)
-rw-r--r--shells/v7sh/Makefile4
-rw-r--r--shells/v7sh/files/patch-macro.c3
2 files changed, 1 insertions, 6 deletions
diff --git a/shells/v7sh/Makefile b/shells/v7sh/Makefile
index 28abe73..74aa164 100644
--- a/shells/v7sh/Makefile
+++ b/shells/v7sh/Makefile
@@ -36,10 +36,6 @@ OPTIONS= V7SH_SYSIII "System III enhancements" on \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
.if !defined(WITHOUT_V7SH_SYSIII)
CFLAGS+= -DSYSIII
.endif
diff --git a/shells/v7sh/files/patch-macro.c b/shells/v7sh/files/patch-macro.c
index 8ee18f4..2be9617 100644
--- a/shells/v7sh/files/patch-macro.c
+++ b/shells/v7sh/files/patch-macro.c
@@ -78,8 +78,7 @@ diff -u -x CVS -x work -x core -x *.core -x #* -x *~ -x *.orig -x *.rej -I $Id.*
+ BOOL nulflg;
+#endif
CHAR idb[2];
-- STRING id=idb;
-+ CSTRING id=idb;
+ STRING id=idb;
- IF bra=(c==BRACE) THEN c=readc() FI
+ IF (bra=c==BRACE)!=0 THEN c=readc() FI /* GCC */
OpenPOWER on IntegriCloud