summaryrefslogtreecommitdiff
path: root/x11/xp/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xp/patches/patch-ad')
-rw-r--r--x11/xp/patches/patch-ad21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/xp/patches/patch-ad b/x11/xp/patches/patch-ad
new file mode 100644
index 00000000000..4bfc4f31180
--- /dev/null
+++ b/x11/xp/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1 2005/12/04 01:21:00 joerg Exp $
+
+--- mysystem.c.orig 2005-12-04 00:58:03.000000000 +0000
++++ mysystem.c
+@@ -1,15 +1,12 @@
+ #include <errno.h>
+ #include <signal.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <X11/Xos.h>
+ #include <X11/Intrinsic.h>
+ #include "mysystem.h"
+ #include "appres.h"
+
+-extern char *malloc();
+-extern char *getenv();
+-
+-extern int errno;
+ extern Argc;
+ extern char **Argv;
+ extern AppResources app_resources;