summaryrefslogtreecommitdiff
path: root/shells/es/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'shells/es/patches/patch-ad')
-rw-r--r--shells/es/patches/patch-ad19
1 files changed, 14 insertions, 5 deletions
diff --git a/shells/es/patches/patch-ad b/shells/es/patches/patch-ad
index 4c98ae1b5c8..4eae8733083 100644
--- a/shells/es/patches/patch-ad
+++ b/shells/es/patches/patch-ad
@@ -1,7 +1,7 @@
-$NetBSD: patch-ad,v 1.3 2005/01/25 04:46:29 tv Exp $
+$NetBSD: patch-ad,v 1.4 2005/03/10 15:18:31 tv Exp $
---- stdenv.h.orig 1995-05-30 13:13:53.000000000 +0200
-+++ stdenv.h 2004-02-26 09:51:16.000000000 +0100
+--- stdenv.h.orig 1995-05-30 07:13:53.000000000 -0400
++++ stdenv.h
@@ -44,9 +44,7 @@
#include <signal.h>
#include <ctype.h>
@@ -12,7 +12,16 @@ $NetBSD: patch-ad,v 1.3 2005/01/25 04:46:29 tv Exp $
#if REQUIRE_IOCTL
#include <sys/ioctl.h>
-@@ -283,6 +281,7 @@
+@@ -239,7 +237,7 @@ extern int getgroups(int, int *);
+ * hacks to present a standard system call interface
+ */
+
+-#ifdef linux
++#if defined(linux) || defined(__INTERIX)
+ #include "unistd.h"
+ #define setpgrp(a, b) setpgid(a, b)
+ #endif
+@@ -283,6 +281,7 @@ extern int getgroups(int, int *);
/* stdlib */
@@ -20,7 +29,7 @@ $NetBSD: patch-ad,v 1.3 2005/01/25 04:46:29 tv Exp $
extern noreturn exit(int);
extern noreturn abort(void);
extern long strtol(const char *num, char **end, int base);
-@@ -290,6 +289,7 @@
+@@ -290,6 +289,7 @@ extern void *qsort(
void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *)
);