summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {