diff options
-rw-r--r-- | lang/sr/distinfo | 7 | ||||
-rw-r--r-- | lang/sr/patches/patch-bl | 16 | ||||
-rw-r--r-- | lang/sr/patches/patch-bm | 38 | ||||
-rw-r--r-- | lang/sr/patches/patch-bn | 12 | ||||
-rw-r--r-- | lang/sr/patches/patch-bo | 12 | ||||
-rw-r--r-- | lang/sr/patches/patch-bp | 12 |
6 files changed, 96 insertions, 1 deletions
diff --git a/lang/sr/distinfo b/lang/sr/distinfo index e639f32514d..6a3ba293aea 100644 --- a/lang/sr/distinfo +++ b/lang/sr/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.20 2010/03/03 13:01:43 is Exp $ +$NetBSD: distinfo,v 1.21 2010/03/03 15:23:51 is Exp $ SHA1 (sr233.tar.Z) = 0354987527ed1e84c32d3b1fc6bacb65d647f337 RMD160 (sr233.tar.Z) = 58c90c06abede7a15ca8a68f53b6fdfa575c79df @@ -26,3 +26,8 @@ SHA1 (patch-bh) = c880064e871297a411e2292f78d82222bb46dac4 SHA1 (patch-bi) = ad6706295ff164fe6df257d325a06f9b157175d1 SHA1 (patch-bj) = cd46d268fc173fe02efa8338ebf3f664ff2e5b94 SHA1 (patch-bk) = 7ec4207ea173377fd6de9dc6272ab20e48ef0780 +SHA1 (patch-bl) = 7386a25df3223892fb841af3fa13eee3a17505b3 +SHA1 (patch-bm) = 52ebd86cda2d354bf5d580c0f2cf25f80350cd2c +SHA1 (patch-bn) = fb8ebeb57956c094aee652c183a2fe1abbc45bb1 +SHA1 (patch-bo) = 55dcc14458fcb817c605eb7b8c4240e87e1cd25a +SHA1 (patch-bp) = e0b553628fc2711ba2abe2b01999a0f84a5fbb7b diff --git a/lang/sr/patches/patch-bl b/lang/sr/patches/patch-bl new file mode 100644 index 00000000000..e4d3ab30472 --- /dev/null +++ b/lang/sr/patches/patch-bl @@ -0,0 +1,16 @@ +$NetBSD: patch-bl,v 1.1 2010/03/03 15:24:19 is Exp $ + +--- gen.h.orig 1999-07-28 22:42:21.000000000 +0200 ++++ gen.h +@@ -43,8 +43,9 @@ void exit(); + double fmod(); /* not in Sequent <math.h> */ + + #if defined(__STDC__) || defined(__sgi) || defined(_AIX) || defined(__alpha) +-void *malloc(), *realloc(); +-void *memset(), *memcpy(); ++#include <unistd.h> ++#include <string.h> ++#include <stdlib.h> + #else + char *malloc(), *realloc(); + char *memset(), *memcpy(); diff --git a/lang/sr/patches/patch-bm b/lang/sr/patches/patch-bm new file mode 100644 index 00000000000..2cc38ee7531 --- /dev/null +++ b/lang/sr/patches/patch-bm @@ -0,0 +1,38 @@ +$NetBSD: patch-bm,v 1.1 2010/03/03 15:24:19 is Exp $ + +--- sr/main.c.orig 2010-03-03 15:16:17.000000000 +0100 ++++ sr/main.c +@@ -11,7 +11,7 @@ static void dofile PARAMS ((char *filena + static int concrete PARAMS ((Nodeptr e)); + static void genmake PARAMS ((Nodeptr e)); + static void gmake PARAMS ((Nodeptr e, char *rtype, char *half)); +-static void link PARAMS ((char *files[])); ++static void mylink PARAMS ((char *files[])); + + + +@@ -101,7 +101,7 @@ char *argv[]; + } else { + if (!option_q) + fprintf (stderr, "linking:\n"); +- link (argv + optind); /* exec srl to build executable file */ ++ mylink (argv + optind); /* exec srl to build executable file */ + /*NOTREACHED*/ + } + } +@@ -348,13 +348,13 @@ char *dir, *fname; + + + +-/* link (files) -- run srl to link the components we have compiled ++/* mylink (files) -- run srl to link the components we have compiled + * + * "files" is portion of orig argv containing file names (including SR files). + */ + + static void +-link (files) ++mylink (files) + char *files[]; + { + char path [MAX_PATH]; diff --git a/lang/sr/patches/patch-bn b/lang/sr/patches/patch-bn new file mode 100644 index 00000000000..26c8018b257 --- /dev/null +++ b/lang/sr/patches/patch-bn @@ -0,0 +1,12 @@ +$NetBSD: patch-bn,v 1.1 2010/03/03 15:24:20 is Exp $ + +--- srtex/print.c.orig 1999-08-03 19:48:22.000000000 +0200 ++++ srtex/print.c +@@ -3,6 +3,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + #include "../config.h" + char *yyref (); + diff --git a/lang/sr/patches/patch-bo b/lang/sr/patches/patch-bo new file mode 100644 index 00000000000..e08a49d894b --- /dev/null +++ b/lang/sr/patches/patch-bo @@ -0,0 +1,12 @@ +$NetBSD: patch-bo,v 1.1 2010/03/03 15:24:20 is Exp $ + +--- srm/fill.c.orig 1999-07-28 22:42:26.000000000 +0200 ++++ srm/fill.c +@@ -1,6 +1,7 @@ + /* fill.c */ + + #include <stdio.h> ++#include <string.h> + #include "../config.h" + #include "srm.h" + diff --git a/lang/sr/patches/patch-bp b/lang/sr/patches/patch-bp new file mode 100644 index 00000000000..060b8ef6c68 --- /dev/null +++ b/lang/sr/patches/patch-bp @@ -0,0 +1,12 @@ +$NetBSD: patch-bp,v 1.1 2010/03/03 15:24:20 is Exp $ + +--- examples/other/mbrot/bkend.c.orig 1999-07-31 01:29:27.000000000 +0200 ++++ examples/other/mbrot/bkend.c +@@ -39,6 +39,7 @@ char *path; + */ + + #include <stdio.h> ++#include <stdlib.h> + + filter(io,name,argv) + int io; |