summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2015-01-11 16:27:22 +0000
committerAndrey Grozin <grozin@gentoo.org>2015-01-11 16:27:22 +0000
commit7d2ef3e67be0cff28b375991e3f1eca3791b1486 (patch)
treecdea4e9fe58a51d42143b0a63dd54f63b1c12ae5 /media-gfx/asymptote
parentVersion bump for Cinnamon 2.4, bug #529780. (diff)
downloadgentoo-2-7d2ef3e67be0cff28b375991e3f1eca3791b1486.tar.gz
gentoo-2-7d2ef3e67be0cff28b375991e3f1eca3791b1486.tar.bz2
gentoo-2-7d2ef3e67be0cff28b375991e3f1eca3791b1486.zip
Fixing bug #528632
(Portage version: 2.2.15/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
Diffstat (limited to 'media-gfx/asymptote')
-rw-r--r--media-gfx/asymptote/ChangeLog8
-rw-r--r--media-gfx/asymptote/asymptote-2.32.ebuild7
-rw-r--r--media-gfx/asymptote/files/asymptote-2.32-ghostscript-9.15.patch24
3 files changed, 35 insertions, 4 deletions
diff --git a/media-gfx/asymptote/ChangeLog b/media-gfx/asymptote/ChangeLog
index d8141b6dc2e0..fad223acceb9 100644
--- a/media-gfx/asymptote/ChangeLog
+++ b/media-gfx/asymptote/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/asymptote
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.110 2014/06/07 07:46:21 grozin Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.111 2015/01/11 16:27:22 grozin Exp $
+
+ 11 Jan 2015; Andrey Grozin <grozin@gentoo.org> asymptote-2.32.ebuild,
+ +files/asymptote-2.32-ghostscript-9.15.patch:
+ Fixing bug #528632
07 Jun 2014; Andrey Grozin <grozin@gentoo.org> asymptote-2.32.ebuild:
Fixed #512590
diff --git a/media-gfx/asymptote/asymptote-2.32.ebuild b/media-gfx/asymptote/asymptote-2.32.ebuild
index 888aeb7b9e6c..ad51ddd7c88d 100644
--- a/media-gfx/asymptote/asymptote-2.32.ebuild
+++ b/media-gfx/asymptote/asymptote-2.32.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.32.ebuild,v 1.2 2014/06/07 07:46:21 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.32.ebuild,v 1.3 2015/01/11 16:27:22 grozin Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@@ -53,6 +53,9 @@ src_prepare() {
# Bug #322473
epatch "${FILESDIR}/${P}-info.patch"
+ # Bug #528632 - fix from https://www.archlinux.org/packages/extra/x86_64/asymptote/
+ epatch "${FILESDIR}/${P}-ghostscript-9.15.patch"
+
eautoreconf
}
diff --git a/media-gfx/asymptote/files/asymptote-2.32-ghostscript-9.15.patch b/media-gfx/asymptote/files/asymptote-2.32-ghostscript-9.15.patch
new file mode 100644
index 000000000000..aa826c5c251f
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.32-ghostscript-9.15.patch
@@ -0,0 +1,24 @@
+diff -r -U2 asymptote-2.32.orig/runlabel.in asymptote-2.32/runlabel.in
+--- asymptote-2.32.orig/runlabel.in 2014-05-22 23:11:47.000000000 +0700
++++ asymptote-2.32/runlabel.in 2015-01-11 21:41:30.268889133 +0600
+@@ -112,5 +112,5 @@
+ const string null="/dev/null";
+ #endif
+- cmd.push_back("-sDEVICE=epswrite");
++ cmd.push_back("-sDEVICE=eps2write");
+ cmd.push_back("-sOutputFile="+null);
+ cmd.push_back(stripDir(psname));
+@@ -310,5 +310,5 @@
+ cmd.push_back("-dBATCH");
+ if(safe) cmd.push_back("-dSAFER");
+- cmd.push_back("-sDEVICE=epswrite");
++ cmd.push_back("-sDEVICE=eps2write");
+ cmd.push_back("-sOutputFile=-");
+ cmd.push_back(pdfname);
+@@ -399,5 +399,5 @@
+ cmd2.push_back("-P");
+ if(safe) cmd2.push_back("-dSAFER");
+- cmd2.push_back("-sDEVICE=epswrite");
++ cmd2.push_back("-sDEVICE=eps2write");
+ cmd2.push_back("-sOutputFile=-");
+ cmd2.push_back("-");