summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2009-02-17 21:23:39 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2009-02-17 21:23:39 +0000
commit48a1215198e27b7fe9372a5ba18d7c911618bdcc (patch)
tree6896400b5708666d5af3ff752eab5964532e5eea /app-text/epstool
parentRemoved obsolete version. (diff)
downloadhistorical-48a1215198e27b7fe9372a5ba18d7c911618bdcc.tar.gz
historical-48a1215198e27b7fe9372a5ba18d7c911618bdcc.tar.bz2
historical-48a1215198e27b7fe9372a5ba18d7c911618bdcc.zip
Fix for gcc 4.3 and newer (bug #259305).
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r4 i686
Diffstat (limited to 'app-text/epstool')
-rw-r--r--app-text/epstool/ChangeLog6
-rw-r--r--app-text/epstool/Manifest5
-rw-r--r--app-text/epstool/epstool-3.08.ebuild12
-rw-r--r--app-text/epstool/files/gcc43.patch20
4 files changed, 38 insertions, 5 deletions
diff --git a/app-text/epstool/ChangeLog b/app-text/epstool/ChangeLog
index 11de2db939b8..e630078ffa23 100644
--- a/app-text/epstool/ChangeLog
+++ b/app-text/epstool/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/epstool
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/epstool/ChangeLog,v 1.24 2009/02/17 21:14:13 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/epstool/ChangeLog,v 1.25 2009/02/17 21:23:39 phosphan Exp $
+
+ 17 Feb 2009; Patrick Kursawe <phosphan@gentoo.org> +files/gcc43.patch,
+ epstool-3.08.ebuild:
+ Fix for gcc 4.3 and newer (bug #259305).
17 Feb 2009; Patrick Kursawe <phosphan@gentoo.org> -epstool-3.06.ebuild:
Removed obsolete version.
diff --git a/app-text/epstool/Manifest b/app-text/epstool/Manifest
index fbbf9163631a..4e632cc3cd14 100644
--- a/app-text/epstool/Manifest
+++ b/app-text/epstool/Manifest
@@ -1,4 +1,5 @@
+AUX gcc43.patch 731 RMD160 95816b9571068d75f605bf3a0f0ea34725a970ac SHA1 92cb8f82beda1c04e7cd5d68e59466a4e096fc75 SHA256 a5e2dcb50fd790005e4d0ad83e5b4053fde8d3ee9c38b3ebdf9e04e95ce2141d
DIST epstool-3.08.tar.gz 191567 RMD160 5594fee09e105745b390de0d2e7144034d83b8e0 SHA1 dc495934f06d3ea8b3209e8b02ea96c66c34f614 SHA256 f3f14b95146868ff3f93c8720d5539deef3b6531630a552165664c7ee3c2cfdd
-EBUILD epstool-3.08.ebuild 712 RMD160 0dddbf0ec6a1fa587972ccc48046f22e7fc70061 SHA1 3f5a65392a7c6d8e28c46a0d420a27c08f98e0d4 SHA256 e71bb65be62e599fee89bb4644ca272721b5e911ca5e70254e910eb541af8f0d
-MISC ChangeLog 2537 RMD160 e8ff67fdccc5f6296afcd08d693286d6ca63d06e SHA1 ed39b59f5a30a17c6b956952e8b3a73915090f94 SHA256 9c81722cd2d5f73c26f5a005458346b26845e0c60158eb4a10c1e3c354716765
+EBUILD epstool-3.08.ebuild 806 RMD160 79fbb6c2ca91b9230c32b6a2138d73ad101c74d7 SHA1 bbb846ece46a7f6076cc63f6d2f2437619f71720 SHA256 c0689b1c391c4b35ebb052e19fb5266de56e297ac9b90be7becc66aa123a40f5
+MISC ChangeLog 2677 RMD160 5fc9a8cbdf7650018eaee6b85a343385af7c84db SHA1 00b52c0b9c0e21d3109dd563b678a1b2de0f1850 SHA256 2b10a0cb043a0f45181b889ee424ba217094fe55ac27f1fa039195ded2bc7681
MISC metadata.xml 224 RMD160 d646bef174a902fd1910871e794292c44f292052 SHA1 411f9bc454756fe51f5ff5033b73f91b0b07a204 SHA256 c2d7984543cf5a2770459f930dc78cbe0a220cb3297123dc108b225edc33a822
diff --git a/app-text/epstool/epstool-3.08.ebuild b/app-text/epstool/epstool-3.08.ebuild
index d169811760e8..cd1456f63c61 100644
--- a/app-text/epstool/epstool-3.08.ebuild
+++ b/app-text/epstool/epstool-3.08.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/epstool/epstool-3.08.ebuild,v 1.9 2008/01/22 19:16:47 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/epstool/epstool-3.08.ebuild,v 1.10 2009/02/17 21:23:39 phosphan Exp $
DESCRIPTION="Creates or extracts preview images in EPS files, fixes bounding boxes,converts to bitmaps."
HOMEPAGE="http://www.cs.wisc.edu/~ghost/gsview/epstool.htm"
@@ -12,6 +12,14 @@ IUSE=""
DEPEND="virtual/ghostscript
!=app-text/gsview-4.6"
+inherit eutils
+
+src_unpack() {
+ unpack ${A}
+ cd "${$}"
+ epatch "${FILESDIR}/gcc43.patch"
+}
+
src_compile() {
make epstool || die
}
diff --git a/app-text/epstool/files/gcc43.patch b/app-text/epstool/files/gcc43.patch
new file mode 100644
index 000000000000..398ce08c5182
--- /dev/null
+++ b/app-text/epstool/files/gcc43.patch
@@ -0,0 +1,20 @@
+--- epstool-3.08.orig/src/epstool.c 2005-06-10 04:41:00.000000000 -0500
++++ epstool-3.08/src/epstool.c 2009-02-16 20:55:43.186140029 -0600
+@@ -2824,7 +2824,7 @@
+ code = -1;
+ }
+ if ((code==0) && stdout_name && (hChildStdoutWr == -1)) {
+- handle = open(stdout_name, O_WRONLY | O_CREAT);
++ handle = open(stdout_name, O_WRONLY | O_CREAT, 0644);
+ hChildStdoutWr = dup2(handle, 1);
+ if (handle != -1)
+ close(handle);
+@@ -2832,7 +2832,7 @@
+ code = -1;
+ }
+ if ((code==0) && stderr_name && (hChildStderrWr == -1)) {
+- handle = open(stderr_name, O_WRONLY | O_CREAT);
++ handle = open(stderr_name, O_WRONLY | O_CREAT, 0644);
+ hChildStderrWr = dup2(handle, 2);
+ if (handle != -1)
+ close(handle);