summaryrefslogtreecommitdiff
path: root/graphics/xv
diff options
context:
space:
mode:
authorminskim <minskim>2004-08-22 08:02:30 +0000
committerminskim <minskim>2004-08-22 08:02:30 +0000
commit21db0116aed93642ed0de1d31aab2bd4a16b7cdf (patch)
tree3494b92b221e2970d652be0052efbe15d953b1dc /graphics/xv
parentde41aeff32033c99d2b2771c5c8cdf87d93d9132 (diff)
downloadpkgsrc-21db0116aed93642ed0de1d31aab2bd4a16b7cdf.tar.gz
Use strerror(3) instead of str_errlist on Interix.
Diffstat (limited to 'graphics/xv')
-rw-r--r--graphics/xv/distinfo4
-rw-r--r--graphics/xv/patches/patch-af14
2 files changed, 15 insertions, 3 deletions
diff --git a/graphics/xv/distinfo b/graphics/xv/distinfo
index 999319565f0..67ce61bfb6b 100644
--- a/graphics/xv/distinfo
+++ b/graphics/xv/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2004/03/29 00:50:41 dillo Exp $
+$NetBSD: distinfo,v 1.9 2004/08/22 08:02:30 minskim Exp $
SHA1 (xv-3.10a.tar.gz) = 9e6372f154be9e9e355972cbeb91d98d9c342474
Size (xv-3.10a.tar.gz) = 2259124 bytes
@@ -13,7 +13,7 @@ SHA1 (patch-ab) = dee0a3fc05e01f8b15c636ec4dcf745533eca345
SHA1 (patch-ac) = 79793d6feb5d15e8e91f3e0747b7b14b00b21254
SHA1 (patch-ad) = 699c3b8e636b369ec2f0de995df0c028f6b1e91a
SHA1 (patch-ae) = a2adc219090e3214ff6c891cd76d3285ee0596b0
-SHA1 (patch-af) = bc0018210c198ec7c0df90cdea967dce995d7161
+SHA1 (patch-af) = 1c6578865affe775936d10118de72aada84887c5
SHA1 (patch-ag) = 6802096dc1493a92379cd2750448407cf4e08dc4
SHA1 (patch-ah) = 5d9fbc3459c44e8c61f50d9f0624ec2069795af9
SHA1 (patch-ai) = 1beb3d45b08be536f297661f5dbdca050591548a
diff --git a/graphics/xv/patches/patch-af b/graphics/xv/patches/patch-af
index 30b079f6d98..4b407d7a75a 100644
--- a/graphics/xv/patches/patch-af
+++ b/graphics/xv/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.3 2000/01/04 16:55:33 bouyer Exp $
+$NetBSD: patch-af,v 1.4 2004/08/22 08:02:30 minskim Exp $
--- xv.h.orig Tue Jan 4 17:12:42 2000
+++ xv.h Tue Jan 4 17:13:38 2000
@@ -22,3 +22,15 @@ $NetBSD: patch-af,v 1.3 2000/01/04 16:55:33 bouyer Exp $
extern char *sys_errlist[]; /* this too... */
# endif
#endif
+@@ -134,7 +134,11 @@
+
+ /* not everyone has the strerror() function, or so I'm told */
+ #ifndef VMS
++#if defined(__INTERIX)
++# define ERRSTR(x) strerror(x)
++#else
+ # define ERRSTR(x) sys_errlist[x]
++#endif
+ #else
+ # define ERRSTR(x) strerror(x, vaxc$errno)
+ #endif