summaryrefslogtreecommitdiff
path: root/graphics/dx/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dx/patches/patch-aq')
-rw-r--r--graphics/dx/patches/patch-aq30
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/dx/patches/patch-aq b/graphics/dx/patches/patch-aq
new file mode 100644
index 00000000000..27afd21cefb
--- /dev/null
+++ b/graphics/dx/patches/patch-aq
@@ -0,0 +1,30 @@
+$NetBSD: patch-aq,v 1.1 2002/02/05 22:23:33 drochner Exp $
+
+--- src/exec/libdx/edfio.c.orig Tue Feb 5 13:06:47 2002
++++ src/exec/libdx/edfio.c Tue Feb 5 13:08:55 2002
+@@ -16,20 +16,18 @@
+ #include <stdarg.h>
+ #include <stdlib.h>
+
+-#if defined(HAVE_SYS_ERRNO_H)
+-#include <sys/errno.h>
+-#endif
+-
+ #if defined(HAVE_ERRNO_H)
+ #include <errno.h>
++#elif defined(HAVE_SYS_ERRNO_H)
++#include <sys/errno.h>
+ #endif
+
++#if !defined(HAVE_SYS_ERRLIST)
+ #if defined(HAVE__SYS_ERRLIST)
+ #define sys_errlist _sys_errlist
+-#endif
+-
+-#if ! (defined(HAVE_SYS_ERRLIST) || defined(HAVE__SYS_ERRLIST))
++#else
+ extern char *sys_errlist[];
++#endif
+ #endif
+
+ #if defined(HAVE_SYS_FILE_H)