summaryrefslogtreecommitdiff
path: root/graphics/xv
diff options
context:
space:
mode:
authorchristos <christos>1999-09-20 18:03:41 +0000
committerchristos <christos>1999-09-20 18:03:41 +0000
commit3f4bbe33ae1d10172d30a5881ae8404ff4d38cbf (patch)
tree60a25644fa4556dc2e4ebf2ffe0872a7c6bf66a9 /graphics/xv
parentd86b770aa8725ef221754b6ed62e8bf1cc4b3efb (diff)
downloadpkgsrc-3f4bbe33ae1d10172d30a5881ae8404ff4d38cbf.tar.gz
linux has sys_errlist too.
Diffstat (limited to 'graphics/xv')
-rw-r--r--graphics/xv/patches/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/xv/patches/patch-ag b/graphics/xv/patches/patch-ag
new file mode 100644
index 00000000000..6f1b05c8ea3
--- /dev/null
+++ b/graphics/xv/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 1999/09/20 18:03:41 christos Exp $
+
+--- ./xv.h.orig Mon Sep 20 13:33:56 1999
++++ ./xv.h Mon Sep 20 13:37:46 1999
+@@ -126,7 +126,7 @@
+ #ifndef VMS
+ # include <errno.h>
+ extern int errno; /* SHOULD be in errno.h, but often isn't */
+-# if !(defined(BSD) && (BSD >= 199103))
++# if !(defined(BSD) && (BSD >= 199103)) && !defined(__linux__)
+ extern char *sys_errlist[]; /* this too... */
+ # endif
+ #endif