diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-07 10:02:13 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-07 10:02:13 +0000 |
commit | afadaecf2730535e70599b30915a6d04f8a7ca22 (patch) | |
tree | d290b19498420771737cc40b76e0c5fabab7432b /shells | |
parent | 3d010176373f00a72e9c2a7c79e3f7d4c87f0653 (diff) | |
download | ports-afadaecf2730535e70599b30915a6d04f8a7ca22.tar.gz ports-afadaecf2730535e70599b30915a6d04f8a7ca22.zip |
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/Makefile | 4 | ||||
-rw-r--r-- | shells/v7sh/files/patch-macro.c | 3 |
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 */ |