Gentoo Archives: gentoo-commits

From: Stephan Hartmann <sultan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/, media-gfx/xfig/files/
Date: Mon, 12 Oct 2020 18:26:35
Message-Id: 1602527167.d760b499a6081410e6125dae00c236d5404a60a1.sultan@gentoo
1 commit: d760b499a6081410e6125dae00c236d5404a60a1
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Oct 12 06:04:17 2020 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 12 18:26:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d760b499
7
8 media-gfx/xfig: patch ghostscript issue
9
10 Closes: https://bugs.gentoo.org/747559
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
13 Closes: https://github.com/gentoo/gentoo/pull/17891
14 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
15
16 media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch | 13 +++++++++++++
17 media-gfx/xfig/xfig-3.2.7b.ebuild | 1 +
18 2 files changed, 14 insertions(+)
19
20 diff --git a/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch b/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch
21 new file mode 100644
22 index 00000000000..07a7de141ec
23 --- /dev/null
24 +++ b/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch
25 @@ -0,0 +1,13 @@
26 +diff --git a/src/Makefile.in b/src/Makefile.in
27 +index 7426253..ae5b045 100644
28 +--- a/src/Makefile.in
29 ++++ b/src/Makefile.in
30 +@@ -1356,7 +1356,7 @@ splash.xpm: $(top_srcdir)/splash-image/spl_bckgnd.fig.in \
31 + fig2dev -L xpm $(top_srcdir)/splash-image/spl_bckgnd.fig \
32 + | sed '2 {s/static //; s/noname/spl_bckgnd_xpm/}' > $@
33 +
34 +-splash.xbm: $(top_srcdir)/splash-image/spl_bckgnd.fig $(top_srcdir)/version.m4
35 ++splash.xbm: $(top_srcdir)/splash-image/spl_bckgnd.fig.in $(top_srcdir)/version.m4
36 + fig2dev -L xbm -S 4 $(top_srcdir)/splash-image/spl_bckgnd.fig \
37 + | sed '1,3 s/noname/spl_bckgnd/; 3 s/char/unsigned &/' > $@
38 +
39
40 diff --git a/media-gfx/xfig/xfig-3.2.7b.ebuild b/media-gfx/xfig/xfig-3.2.7b.ebuild
41 index 3232a773a65..c1e849310d7 100644
42 --- a/media-gfx/xfig/xfig-3.2.7b.ebuild
43 +++ b/media-gfx/xfig/xfig-3.2.7b.ebuild
44 @@ -36,6 +36,7 @@ PATCHES=(
45 "${FILESDIR}/${PN}-3.2.6a-urwfonts.patch"
46 "${FILESDIR}/${PN}-3.2.6a-solaris.patch"
47 "${FILESDIR}/${PN}-3.2.6a-app-defaults.patch"
48 + "${FILESDIR}/${PN}-3.2.7b-ghostscript.patch"
49 )
50
51 src_configure() {