Subject: pkg/36125: xv does not link on solaris 9
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <heas@shrubbery.net>
List: pkgsrc-bugs
Date: 04/04/2007 23:35:00
>Number:         36125
>Category:       pkg
>Synopsis:       xv does not link on solaris 9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 04 23:35:00 +0000 2007
>Originator:     john heasley
>Release:        Solaris 9
>Organization:
	
>Environment:
	
	
SunOS yew 5.9 Generic_118558-20 sun4u sparc SUNW,Sun-Fire-280R
>Description:
xv does not link on Solaris 9 when compiled 64-bit because the 64-bit libc
does not export sys_errlist.
>How-To-Repeat:
>Fix:

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/xv/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- distinfo	14 May 2006 21:16:00 -0000	1.13
+++ distinfo	4 Apr 2007 17:41:27 -0000
@@ -1,16 +1,16 @@
 $NetBSD: distinfo,v 1.13 2006/05/14 21:16:00 schwarz Exp $
 
-SHA1 (xv-3.10a.tar.gz) = 9e6372f154be9e9e355972cbeb91d98d9c342474
-RMD160 (xv-3.10a.tar.gz) = 7d545e0c0e5b0120a7d026ea549cba19a53fbc0d
-Size (xv-3.10a.tar.gz) = 2259124 bytes
 SHA1 (xv-3.10a-jumbo-patches-20050501.tar.bz2) = deb42fc30697312f13fcedb88f10cc3ed0ced8ac
 RMD160 (xv-3.10a-jumbo-patches-20050501.tar.bz2) = d199e7d1b6c5162e0cad09d4118b3735f1d156ef
 Size (xv-3.10a-jumbo-patches-20050501.tar.bz2) = 369886 bytes
+SHA1 (xv-3.10a.tar.gz) = 9e6372f154be9e9e355972cbeb91d98d9c342474
+RMD160 (xv-3.10a.tar.gz) = 7d545e0c0e5b0120a7d026ea549cba19a53fbc0d
+Size (xv-3.10a.tar.gz) = 2259124 bytes
 SHA1 (patch-aa) = 9bfd1e6a55766e4c6f60907a5f58a882657dca9b
 SHA1 (patch-ab) = 1be183fb72ba82cc15fdcec6607c1e294e284370
 SHA1 (patch-ac) = cc0da5cefbb4a13b86daaca482c52ece4bc3294c
 SHA1 (patch-ad) = 3a49ca0152f6a7d6cf79348e3b5308da509b63ea
-SHA1 (patch-af) = 1beddc2abe530871fcdbb2cea5682225c194bd4d
+SHA1 (patch-af) = deabe69e597c7b1967841131bb9e94890eecf5cc
 SHA1 (patch-ah) = 830139139ddf49a505786cde8930ba1e9ae006f4
 SHA1 (patch-ai) = 10febc95047fc25a3b93c157eb39ed1ed7a30bc6
 SHA1 (patch-aj) = 7f40c002d8a16b1507c6171db543285447e3cf81
Index: patches/patch-af
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/xv/patches/patch-af,v
retrieving revision 1.6
diff -u -r1.6 patch-af
--- patches/patch-af	15 Mar 2006 19:27:31 -0000	1.6
+++ patches/patch-af	4 Apr 2007 17:41:27 -0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-af,v 1.6 2006/03/15 19:27:31 minskim Exp $
+$NetBSD$
 
---- xv.h.orig	2006-03-15 11:00:24.000000000 -0800
+--- xv.h.orig	2007-04-03 20:30:27.495100000 +0000
 +++ xv.h
 @@ -137,9 +137,7 @@
  #endif
@@ -27,7 +27,7 @@
  #  define ERRSTR(x) strerror(x, vaxc$errno)
  #else
 -#  if defined(__BEOS__) || defined(__linux__) /* or all modern/glibc systems? */
-+#  if defined(__BEOS__) || defined(__linux__) || defined(__INTERIX) /* or all modern/glibc systems? */
++#  if defined(__BEOS__) || defined(__linux__) || defined(__INTERIX) /* or all modern/glibc systems? */ || defined(__SVR4)
  #    define ERRSTR(x) strerror(x)
  #  else
  #    define ERRSTR(x) sys_errlist[x]

>Unformatted: