summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2020-12-12 07:59:41 -0600
committerErik Mackdanz <stasibear@gentoo.org>2020-12-12 07:59:41 -0600
commit33364c5d29fd2093188f039540e81506417da041 (patch)
tree5f4314dbf93698f24e1703c59aa80f3191ab0213 /games-roguelike
parentgames-roguelike/stone-soup: Correctly use python eclasses for bdeps (diff)
downloadgentoo-33364c5d29fd2093188f039540e81506417da041.tar.gz
gentoo-33364c5d29fd2093188f039540e81506417da041.tar.bz2
gentoo-33364c5d29fd2093188f039540e81506417da041.zip
games-roguelike/stone-soup: Patch out scan for fonts (sandbox violation)
Closes: https://bugs.gentoo.org/736792 Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> Package-Manager: Portage-3.0.12, Repoman-3.0.2
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/stone-soup/files/fixed-font-path.patch20
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.25.0.ebuild1
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.25.1-r1.ebuild1
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild1
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.25.1.ebuild1
5 files changed, 24 insertions, 0 deletions
diff --git a/games-roguelike/stone-soup/files/fixed-font-path.patch b/games-roguelike/stone-soup/files/fixed-font-path.patch
new file mode 100644
index 000000000000..5f6bd651bec8
--- /dev/null
+++ b/games-roguelike/stone-soup/files/fixed-font-path.patch
@@ -0,0 +1,20 @@
+--- a/Makefile 2020-12-11 23:37:30.506956304 -0600
++++ b/Makefile 2020-12-11 23:40:02.925609235 -0600
+@@ -932,7 +932,7 @@
+ INSTALL_FONTS += "$(PROPORTIONAL_FONT)"
+ endif
+ else
+- SYS_PROPORTIONAL_FONT = $(shell util/find_font "$(OUR_PROPORTIONAL_FONT)")
++ SYS_PROPORTIONAL_FONT = /usr/share/fonts/dejavu/DejaVuSans.ttf
+ ifneq (,$(SYS_PROPORTIONAL_FONT))
+ ifeq (,$(COPY_FONTS))
+ DEFINES += -DPROPORTIONAL_FONT=\"$(SYS_PROPORTIONAL_FONT)\"
+@@ -952,7 +952,7 @@
+ INSTALL_FONTS += "$(MONOSPACED_FONT)"
+ endif
+ else
+- SYS_MONOSPACED_FONT = $(shell util/find_font "$(OUR_MONOSPACED_FONT)")
++ SYS_MONOSPACED_FONT = /usr/share/fonts/dejavu/DejaVuSansMono.ttf
+ ifneq (,$(SYS_MONOSPACED_FONT))
+ ifeq (,$(COPY_FONTS))
+ DEFINES += -DMONOSPACED_FONT=\"$(SYS_MONOSPACED_FONT)\"
diff --git a/games-roguelike/stone-soup/stone-soup-0.25.0.ebuild b/games-roguelike/stone-soup/stone-soup-0.25.0.ebuild
index a26fe45f42c7..48a422a661c5 100644
--- a/games-roguelike/stone-soup/stone-soup-0.25.0.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.25.0.ebuild
@@ -66,6 +66,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}/source
S_TEST=${WORKDIR}/${MY_P}_test/source
PATCHES=(
+ "${FILESDIR}"/fixed-font-path.patch
"${FILESDIR}"/gitless-1.patch
"${FILESDIR}"/rltiles-ldflags-libs.patch
)
diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1-r1.ebuild b/games-roguelike/stone-soup/stone-soup-0.25.1-r1.ebuild
index 8a4d1201dc17..64d7340db247 100644
--- a/games-roguelike/stone-soup/stone-soup-0.25.1-r1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.25.1-r1.ebuild
@@ -68,6 +68,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}/source
S_TEST=${WORKDIR}/${MY_P}_test/source
PATCHES=(
+ "${FILESDIR}"/fixed-font-path.patch
"${FILESDIR}"/gitless-1.patch
"${FILESDIR}"/rltiles-ldflags-libs.patch
)
diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild b/games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild
index 58a9e530e1a1..fd7baf97c0e4 100644
--- a/games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild
@@ -67,6 +67,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}/source
S_TEST=${WORKDIR}/${MY_P}_test/source
PATCHES=(
+ "${FILESDIR}"/fixed-font-path.patch
"${FILESDIR}"/gitless-1.patch
"${FILESDIR}"/rltiles-ldflags-libs.patch
)
diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1.ebuild b/games-roguelike/stone-soup/stone-soup-0.25.1.ebuild
index 69379b34c524..254ea797341c 100644
--- a/games-roguelike/stone-soup/stone-soup-0.25.1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.25.1.ebuild
@@ -66,6 +66,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}/source
S_TEST=${WORKDIR}/${MY_P}_test/source
PATCHES=(
+ "${FILESDIR}"/fixed-font-path.patch
"${FILESDIR}"/gitless-1.patch
"${FILESDIR}"/rltiles-ldflags-libs.patch
)