summaryrefslogtreecommitdiff
path: root/graphics/xv
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>1999-09-20 18:03:41 +0000
committerchristos <christos@pkgsrc.org>1999-09-20 18:03:41 +0000
commit080ac841b92ac7f8d17630fd5f18e8a7414ec3fa (patch)
tree60a25644fa4556dc2e4ebf2ffe0872a7c6bf66a9 /graphics/xv
parent45bbe3dd4051e2c18d9c152eb774117cca4ac7a2 (diff)
downloadpkgsrc-080ac841b92ac7f8d17630fd5f18e8a7414ec3fa.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