summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2005-09-27 20:41:42 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2005-09-27 20:41:42 +0000
commit30872419e8d2fd92de2cdc26eedba61d207e333b (patch)
treec9140665798dd25c757a45e97eaef69293977502 /x11-misc
parentDepend on virtual/ghostscript instead of app-text/ghostscript for bug 107418 (diff)
downloadgentoo-2-30872419e8d2fd92de2cdc26eedba61d207e333b.tar.gz
gentoo-2-30872419e8d2fd92de2cdc26eedba61d207e333b.tar.bz2
gentoo-2-30872419e8d2fd92de2cdc26eedba61d207e333b.zip
Fix bug 106132.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xplore/ChangeLog8
-rw-r--r--x11-misc/xplore/Manifest3
-rw-r--r--x11-misc/xplore/files/xplore-1.2a-strerror.patch20
-rw-r--r--x11-misc/xplore/xplore-1.2a.ebuild11
4 files changed, 37 insertions, 5 deletions
diff --git a/x11-misc/xplore/ChangeLog b/x11-misc/xplore/ChangeLog
index 6137f1735ddb..49f952883db5 100644
--- a/x11-misc/xplore/ChangeLog
+++ b/x11-misc/xplore/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/xplore
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplore/ChangeLog,v 1.5 2004/06/24 22:43:34 agriffis Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplore/ChangeLog,v 1.6 2005/09/27 20:41:42 nelchael Exp $
+
+ 27 Sep 2005; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/xplore-1.2a-strerror.patch, xplore-1.2a.ebuild:
+ Fix bug 106132.
11 Apr 2004; Markus Nigbur <pyrania@gentoo.org> xplore-1.2a.ebuild:
Ebuild fixups.
diff --git a/x11-misc/xplore/Manifest b/x11-misc/xplore/Manifest
index 45e9c3e5e448..64d653767716 100644
--- a/x11-misc/xplore/Manifest
+++ b/x11-misc/xplore/Manifest
@@ -1,8 +1,9 @@
-MD5 e1d3185b9b8c0c3d7b126667846fb338 xplore-1.2a.ebuild 1150
+MD5 07acae666f45da9a6b1bfa6de331e6bb xplore-1.2a.ebuild 1237
MD5 e64a602d10df64a786000a7d1e2f86d2 xplore-1.1-r1.ebuild 1139
MD5 7c80125bfe42b649493e091c4cbaf50b ChangeLog 1703
MD5 fe402b096905cae8dcb4a503d3a838ac metadata.xml 173
MD5 c3740ae4dcaa74dfe0ef30a2f9605435 xplore-1.1e.ebuild 1150
MD5 d81a9d6cffc3f9e5bbfd3c30fc5befb0 files/digest-xplore-1.1-r1 63
+MD5 bb06198110311b73c51873cb2c72632d files/xplore-1.2a-strerror.patch 643
MD5 443aaa2db2102227b3880e7a74d7cd23 files/digest-xplore-1.1e 64
MD5 8e9d553f8c4cf7c2f33d108428abd8e7 files/digest-xplore-1.2a 64
diff --git a/x11-misc/xplore/files/xplore-1.2a-strerror.patch b/x11-misc/xplore/files/xplore-1.2a-strerror.patch
new file mode 100644
index 000000000000..bb93893896ed
--- /dev/null
+++ b/x11-misc/xplore/files/xplore-1.2a-strerror.patch
@@ -0,0 +1,20 @@
+diff -urp xplore-1.2a/error.c xplore-1.2a.strerror/error.c
+--- xplore-1.2a/error.c 2002-05-01 09:59:23 -0500
++++ xplore-1.2a.strerror/error.c 2005-09-06 06:14:53 -0500
+@@ -65,14 +65,12 @@ void xplerr2(int err, String s1, String
+ pxplerr(msg);
+ }
+
+-extern const char *const sys_errlist[];
+-
+ static void psyserr(String s)
+ {
+ if (errno) {
+ String msg = (String) alloca(strlen(errmsg[ERR_SYS])+strlen(s)+
+- strlen(sys_errlist[errno]));
+- sprintf(msg, errmsg[ERR_SYS], s, sys_errlist[errno]);
++ strlen(strerror(errno)));
++ sprintf(msg, errmsg[ERR_SYS], s, strerror(errno));
+ pxplerr(msg);
+ } else
+ pxplerr(s);
diff --git a/x11-misc/xplore/xplore-1.2a.ebuild b/x11-misc/xplore/xplore-1.2a.ebuild
index f17c202586e1..8ffdd2734e80 100644
--- a/x11-misc/xplore/xplore-1.2a.ebuild
+++ b/x11-misc/xplore/xplore-1.2a.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplore/xplore-1.2a.ebuild,v 1.5 2004/06/24 22:43:34 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplore/xplore-1.2a.ebuild,v 1.6 2005/09/27 20:41:42 nelchael Exp $
+
+inherit eutils
IUSE=""
@@ -16,6 +18,11 @@ KEYWORDS="x86"
DEPEND="virtual/x11
x11-libs/openmotif"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-strerror.patch
+}
+
src_compile() {
#Fix Xplore.tmpl so installation is to /usr instead of /usr/X11R6
#Note: LIBDIR is used to point to X11 tree.