summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-10-12 08:04:17 +0200
committerStephan Hartmann <sultan@gentoo.org>2020-10-12 20:26:07 +0200
commitd760b499a6081410e6125dae00c236d5404a60a1 (patch)
tree9ef424331c9df5c75422df8d355d0658608aed45 /media-gfx
parentmedia-libs/dav1d: bump to v0.7.1 (diff)
downloadgentoo-d760b499a6081410e6125dae00c236d5404a60a1.tar.gz
gentoo-d760b499a6081410e6125dae00c236d5404a60a1.tar.bz2
gentoo-d760b499a6081410e6125dae00c236d5404a60a1.zip
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@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/17891 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch13
-rw-r--r--media-gfx/xfig/xfig-3.2.7b.ebuild1
2 files changed, 14 insertions, 0 deletions
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 000000000000..07a7de141ec0
--- /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 3232a773a657..c1e849310d7e 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() {