commit:     d760b499a6081410e6125dae00c236d5404a60a1
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Oct 12 06:04:17 2020 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 18:26:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d760b499

media-gfx/xfig: patch ghostscript issue

Closes: https://bugs.gentoo.org/747559
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/17891
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>

 media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch | 13 +++++++++++++
 media-gfx/xfig/xfig-3.2.7b.ebuild                  |  1 +
 2 files changed, 14 insertions(+)

diff --git a/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch 
b/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch
new file mode 100644
index 00000000000..07a7de141ec
--- /dev/null
+++ b/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Makefile.in b/src/Makefile.in
+index 7426253..ae5b045 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -1356,7 +1356,7 @@ splash.xpm: $(top_srcdir)/splash-image/spl_bckgnd.fig.in 
\
+       fig2dev -L xpm $(top_srcdir)/splash-image/spl_bckgnd.fig \
+       | sed '2 {s/static //; s/noname/spl_bckgnd_xpm/}' > $@
+ 
+-splash.xbm: $(top_srcdir)/splash-image/spl_bckgnd.fig $(top_srcdir)/version.m4
++splash.xbm: $(top_srcdir)/splash-image/spl_bckgnd.fig.in 
$(top_srcdir)/version.m4
+       fig2dev -L xbm -S 4 $(top_srcdir)/splash-image/spl_bckgnd.fig \
+       | sed '1,3 s/noname/spl_bckgnd/; 3 s/char/unsigned &/' > $@
+ 

diff --git a/media-gfx/xfig/xfig-3.2.7b.ebuild 
b/media-gfx/xfig/xfig-3.2.7b.ebuild
index 3232a773a65..c1e849310d7 100644
--- a/media-gfx/xfig/xfig-3.2.7b.ebuild
+++ b/media-gfx/xfig/xfig-3.2.7b.ebuild
@@ -36,6 +36,7 @@ PATCHES=(
        "${FILESDIR}/${PN}-3.2.6a-urwfonts.patch"
        "${FILESDIR}/${PN}-3.2.6a-solaris.patch"
        "${FILESDIR}/${PN}-3.2.6a-app-defaults.patch"
+       "${FILESDIR}/${PN}-3.2.7b-ghostscript.patch"
 )
 
 src_configure() {

Reply via email to