diff options
Diffstat (limited to 'lang/gawk/patches/patch-af')
-rw-r--r-- | lang/gawk/patches/patch-af | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/lang/gawk/patches/patch-af b/lang/gawk/patches/patch-af deleted file mode 100644 index b31c5d13b5f..00000000000 --- a/lang/gawk/patches/patch-af +++ /dev/null @@ -1,62 +0,0 @@ -$NetBSD: patch-af,v 1.2 2005/05/15 16:38:28 bouyer Exp $ - -hit with big hammer. Unfortunately awk.h #define's proc which -breaks 'struct proc' so we make sure we pull all that stuff in first. - ---- io.c.orig Tue Apr 16 07:57:44 2002 -+++ io.c -@@ -23,6 +23,38 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - */ - -+#ifdef __NetBSD__ -+#include <sys/types.h> -+#include <sys/param.h> -+#include <sys/ioctl.h> -+#include <sys/socket.h> -+#include <sys/stat.h> -+#include <sys/wait.h> -+ -+#include <netinet/in.h> -+#include <netinet/in_systm.h> -+#include <netinet/ip.h> -+ -+#include <arpa/ftp.h> -+#include <arpa/inet.h> -+ -+#include <ctype.h> -+#include <errno.h> -+#include <fcntl.h> -+#include <limits.h> -+#include <netdb.h> -+#include <pwd.h> -+#include <setjmp.h> -+#include <signal.h> -+#include <stdarg.h> -+#include <stddef.h> -+#include <stdio.h> -+#include <stdlib.h> -+#include <string.h> -+#include <termios.h> -+#include <unistd.h> -+#endif -+ - #include "awk.h" - - #ifdef HAVE_SYS_PARAM_H -@@ -2024,7 +2056,6 @@ - int pid; - int status = 0; - struct redirect *redp; -- extern int errno; - - hstat = signal(SIGHUP, SIG_IGN); - istat = signal(SIGINT, SIG_IGN); -@@ -2205,7 +2236,6 @@ - static IOBUF * - gawk_popen(const char *cmd, struct redirect *rp) - { -- extern char *strdup P((const char *)); - int current; - char *name; - static char cmdbuf[256]; |