From 6b787b91fc0797ed15597e469b619422097a60bb Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 22 Jun 2004 08:24:19 +0000 Subject: Add v7sh, the original Steve R. Bourne shell from the 7th edition Unix including System III, 4.3BSD-Reno, Ultrix 3.1 and `home made'' fixes and enhancements PR: ports/68127 Submitted by: Cyrille Lefevre --- shells/v7sh/files/patch-setbrk.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shells/v7sh/files/patch-setbrk.c (limited to 'shells/v7sh/files/patch-setbrk.c') diff --git a/shells/v7sh/files/patch-setbrk.c b/shells/v7sh/files/patch-setbrk.c new file mode 100644 index 000000000000..e3cffed4bd67 --- /dev/null +++ b/shells/v7sh/files/patch-setbrk.c @@ -0,0 +1,16 @@ +diff -u -x CVS -x work -x core -x *.core -x #* -x *~ -x *.orig -x *.rej -I $Id.*$ -I $.+BSD.*$ setbrk.c.orig setbrk.c +--- setbrk.c.orig Fri Jun 4 02:51:02 2004 ++++ setbrk.c Sat Jun 19 18:42:24 2004 +@@ -9,9 +9,10 @@ + + #include "defs.h" + +-setbrk(incr) ++BYTPTR setbrk(incr) ++ INT incr; + { +- REG BYTPTR a=sbrk(incr); ++ REG BYTPTR a=(BYTPTR) sbrk(incr); + brkend=a+incr; + return(a); + } -- cgit v1.2.3