diff options
author | uebayasi <uebayasi> | 2004-02-26 07:47:48 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2004-02-26 07:47:48 +0000 |
commit | fc56f382f0e5d3f666fc2f765d853a45479df8d2 (patch) | |
tree | 45c9a6f9a53719eabd6d13f5726fe30aa5ecb8a8 /shells/es/patches | |
parent | b7c52ea7fea4d2009f271ab73ba13a8a6d0f9e57 (diff) | |
download | pkgsrc-fc56f382f0e5d3f666fc2f765d853a45479df8d2.tar.gz |
Split patch into pieces. Requested by Roland Illig.
Diffstat (limited to 'shells/es/patches')
-rw-r--r-- | shells/es/patches/patch-aa | 77 | ||||
-rw-r--r-- | shells/es/patches/patch-ab | 27 | ||||
-rw-r--r-- | shells/es/patches/patch-ac | 13 | ||||
-rw-r--r-- | shells/es/patches/patch-ad | 20 | ||||
-rw-r--r-- | shells/es/patches/patch-ae | 23 |
5 files changed, 84 insertions, 76 deletions
diff --git a/shells/es/patches/patch-aa b/shells/es/patches/patch-aa index ed394b75b8d..4da4433a843 100644 --- a/shells/es/patches/patch-aa +++ b/shells/es/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.3 1998/08/07 11:13:54 agc Exp $ +$NetBSD: patch-aa,v 1.4 2004/02/26 07:47:48 uebayasi Exp $ *** Makefile.orig Tue May 30 06:14:14 1995 --- Makefile Fri Aug 11 16:02:11 1995 @@ -39,78 +39,3 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:13:54 agc Exp $ es : ${OFILES} initial.o ${CC} -o es ${LDFLAGS} ${OFILES} initial.o ${LIBS} ---- prim-sys.c.orig Tue May 30 06:13:51 1995 -+++ prim-sys.c Thu Apr 10 10:15:40 1997 -@@ -194,7 +194,7 @@ - - static void printlimit(const Limit *limit, Boolean hard) { - struct rlimit rlim; -- long lim; -+ u_quad_t lim; - getrlimit(limit->flag, &rlim); - if (hard) - lim = rlim.rlim_max; -@@ -209,11 +209,11 @@ - lim /= suf->amount; - break; - } -- print("%-8s\t%d%s\n", limit->name, lim, (suf == NULL || lim == 0) ? "" : suf->name); -+ print("%-8s\t%ud%s\n", limit->name, (unsigned int)lim, (suf == NULL || lim == 0) ? "" : suf->name); - } - } - --static long parselimit(const Limit *limit, char *s) { -+static u_quad_t parselimit(const Limit *limit, char *s) { - long lim; - char *t; - const Suffix *suf = limit->suffix; ---- main.c~ Tue May 30 06:13:50 1995 -+++ main.c Thu Apr 10 09:20:49 1997 -@@ -9,7 +9,7 @@ - Boolean gcinfo = FALSE; /* -I */ - #endif - --#if !HPUX && !defined(linux) -+#if !HPUX && !defined(linux) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) - extern int getopt (int argc, char **argv, const char *optstring); - #endif - extern int optind; ---- stdenv.h~ Tue May 30 06:13:53 1995 -+++ stdenv.h Thu Apr 10 09:32:22 1997 -@@ -283,6 +283,7 @@ - - /* stdlib */ - -+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) - extern noreturn exit(int); - extern noreturn abort(void); - extern long strtol(const char *num, char **end, int base); -@@ -290,6 +291,7 @@ - void *base, size_t nmemb, size_t size, - int (*compar)(const void *, const void *) - ); -+#endif - - /* setjmp */ - ---- util.c 1997/10/24 14:23:46 1.1 -+++ util.c 1997/10/24 14:25:01 -@@ -2,6 +2,10 @@ - - #include "es.h" - -+#include <sys/param.h> -+ -+#if !(defined(BSD) && BSD >= 199306) -+/* agc - just use the system strerror here */ - /* strerror -- turn an error code into a string */ - extern char *strerror(int n) { - extern int sys_nerr; -@@ -10,6 +14,7 @@ - return "unknown error"; - return sys_errlist[n]; - } -+#endif - - /* uerror -- print a unix error, our version of perror */ - extern void uerror(char *s) { diff --git a/shells/es/patches/patch-ab b/shells/es/patches/patch-ab new file mode 100644 index 00000000000..0a15ec3f9f2 --- /dev/null +++ b/shells/es/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.1 2004/02/26 07:47:48 uebayasi Exp $ + +--- prim-sys.c.orig Tue May 30 06:13:51 1995 ++++ prim-sys.c Thu Apr 10 10:15:40 1997 +@@ -194,7 +194,7 @@ + + static void printlimit(const Limit *limit, Boolean hard) { + struct rlimit rlim; +- long lim; ++ u_quad_t lim; + getrlimit(limit->flag, &rlim); + if (hard) + lim = rlim.rlim_max; +@@ -209,11 +209,11 @@ + lim /= suf->amount; + break; + } +- print("%-8s\t%d%s\n", limit->name, lim, (suf == NULL || lim == 0) ? "" : suf->name); ++ print("%-8s\t%ud%s\n", limit->name, (unsigned int)lim, (suf == NULL || lim == 0) ? "" : suf->name); + } + } + +-static long parselimit(const Limit *limit, char *s) { ++static u_quad_t parselimit(const Limit *limit, char *s) { + long lim; + char *t; + const Suffix *suf = limit->suffix; diff --git a/shells/es/patches/patch-ac b/shells/es/patches/patch-ac new file mode 100644 index 00000000000..2203c83f15c --- /dev/null +++ b/shells/es/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2004/02/26 07:47:48 uebayasi Exp $ + +--- main.c~ Tue May 30 06:13:50 1995 ++++ main.c Thu Apr 10 09:20:49 1997 +@@ -9,7 +9,7 @@ + Boolean gcinfo = FALSE; /* -I */ + #endif + +-#if !HPUX && !defined(linux) ++#if !HPUX && !defined(linux) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) + extern int getopt (int argc, char **argv, const char *optstring); + #endif + extern int optind; diff --git a/shells/es/patches/patch-ad b/shells/es/patches/patch-ad new file mode 100644 index 00000000000..6caba1d3ff0 --- /dev/null +++ b/shells/es/patches/patch-ad @@ -0,0 +1,20 @@ +$NetBSD: patch-ad,v 1.1 2004/02/26 07:47:48 uebayasi Exp $ + +--- stdenv.h~ Tue May 30 06:13:53 1995 ++++ stdenv.h Thu Apr 10 09:32:22 1997 +@@ -283,6 +283,7 @@ + + /* stdlib */ + ++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) + extern noreturn exit(int); + extern noreturn abort(void); + extern long strtol(const char *num, char **end, int base); +@@ -290,6 +291,7 @@ + void *base, size_t nmemb, size_t size, + int (*compar)(const void *, const void *) + ); ++#endif + + /* setjmp */ + diff --git a/shells/es/patches/patch-ae b/shells/es/patches/patch-ae new file mode 100644 index 00000000000..e46ac4cd935 --- /dev/null +++ b/shells/es/patches/patch-ae @@ -0,0 +1,23 @@ +$NetBSD: patch-ae,v 1.1 2004/02/26 07:47:48 uebayasi Exp $ + +--- util.c 1997/10/24 14:23:46 1.1 ++++ util.c 1997/10/24 14:25:01 +@@ -2,6 +2,10 @@ + + #include "es.h" + ++#include <sys/param.h> ++ ++#if !(defined(BSD) && BSD >= 199306) ++/* agc - just use the system strerror here */ + /* strerror -- turn an error code into a string */ + extern char *strerror(int n) { + extern int sys_nerr; +@@ -10,6 +14,7 @@ + return "unknown error"; + return sys_errlist[n]; + } ++#endif + + /* uerror -- print a unix error, our version of perror */ + extern void uerror(char *s) { |