pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xv Use strerror(3) instead of str_errlist on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66dfa3e20137
branches:  trunk
changeset: 479774:66dfa3e20137
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Aug 22 08:02:30 2004 +0000

description:
Use strerror(3) instead of str_errlist on Interix.

diffstat:

 graphics/xv/distinfo         |   4 ++--
 graphics/xv/patches/patch-af |  14 +++++++++++++-
 2 files changed, 15 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 9265b2ab8957 -r 66dfa3e20137 graphics/xv/distinfo
--- a/graphics/xv/distinfo      Sun Aug 22 05:51:55 2004 +0000
+++ b/graphics/xv/distinfo      Sun Aug 22 08:02:30 2004 +0000
@@ -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-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 -r 9265b2ab8957 -r 66dfa3e20137 graphics/xv/patches/patch-af
--- a/graphics/xv/patches/patch-af      Sun Aug 22 05:51:55 2004 +0000
+++ b/graphics/xv/patches/patch-af      Sun Aug 22 08:02:30 2004 +0000
@@ -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 @@
       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



Home | Main Index | Thread Index | Old Index