aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */