summaryrefslogtreecommitdiff
path: root/shells/es/patches/patch-ad
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2004-02-26 09:34:43 +0000
committeruebayasi <uebayasi>2004-02-26 09:34:43 +0000
commit21dd7287bd3b712f80a398bd839a926cb6716ff4 (patch)
tree75de61499d249ba564a3f519d455433481a9b95c /shells/es/patches/patch-ad
parentbad69869c5112e31bddb60c12cd92b7d3c05c907 (diff)
downloadpkgsrc-21dd7287bd3b712f80a398bd839a926cb6716ff4.tar.gz
Fix build on Linux. From Roland Illig.
Diffstat (limited to 'shells/es/patches/patch-ad')
-rw-r--r--shells/es/patches/patch-ad20
1 files changed, 15 insertions, 5 deletions
diff --git a/shells/es/patches/patch-ad b/shells/es/patches/patch-ad
index 6caba1d3ff0..02e214066be 100644
--- a/shells/es/patches/patch-ad
+++ b/shells/es/patches/patch-ad
@@ -1,8 +1,18 @@
-$NetBSD: patch-ad,v 1.1 2004/02/26 07:47:48 uebayasi Exp $
+$NetBSD: patch-ad,v 1.2 2004/02/26 09:34:43 uebayasi Exp $
---- stdenv.h~ Tue May 30 06:13:53 1995
-+++ stdenv.h Thu Apr 10 09:32:22 1997
-@@ -283,6 +283,7 @@
+--- stdenv.h.orig 1995-05-30 13:13:53.000000000 +0200
++++ stdenv.h 2004-02-26 09:51:16.000000000 +0100
+@@ -44,9 +44,7 @@
+ #include <signal.h>
+ #include <ctype.h>
+
+-#if REQUIRE_STAT || REQUIRE_IOCTL
+ #include <sys/types.h>
+-#endif
+
+ #if REQUIRE_IOCTL
+ #include <sys/ioctl.h>
+@@ -283,6 +281,7 @@
/* stdlib */
@@ -10,7 +20,7 @@ $NetBSD: patch-ad,v 1.1 2004/02/26 07:47:48 uebayasi Exp $
extern noreturn exit(int);
extern noreturn abort(void);
extern long strtol(const char *num, char **end, int base);
-@@ -290,6 +291,7 @@
+@@ -290,6 +289,7 @@
void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *)
);