summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-07 10:02:13 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-07 10:02:13 +0000
commitafadaecf2730535e70599b30915a6d04f8a7ca22 (patch)
treed290b19498420771737cc40b76e0c5fabab7432b /shells
parent- Unbreak fetching: (diff)
Unbreak on 5.X and -CURRENT.
Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit)
Notes
Notes: svn path=/head/; revision=118571
Diffstat (limited to 'shells')
-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 28abe737b8bf..74aa1647a7f9 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 8ee18f407c4b..2be961752aeb 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 */