summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2019-04-15 20:11:49 -0500
committerErik Mackdanz <stasibear@gentoo.org>2019-04-15 20:11:49 -0500
commitb848934c51d73afe2436a7f89dbdd2f3e66294f2 (patch)
tree50b6882307ad3ffd39674e91c9a602f601645c99 /games-roguelike
parentprofiles/arch/{arm,powerpc}: Mask babeltrace and lttng USE flags on ceph (diff)
downloadgentoo-b848934c51d73afe2436a7f89dbdd2f3e66294f2.tar.gz
gentoo-b848934c51d73afe2436a7f89dbdd2f3e66294f2.tar.bz2
gentoo-b848934c51d73afe2436a7f89dbdd2f3e66294f2.zip
games-roguelike/stone-soup: disable git operations
Closes: https://bugs.gentoo.org/683278 Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.12
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/stone-soup/files/gitless.patch13
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.23.2.ebuild1
2 files changed, 14 insertions, 0 deletions
diff --git a/games-roguelike/stone-soup/files/gitless.patch b/games-roguelike/stone-soup/files/gitless.patch
new file mode 100644
index 000000000000..3aaeb7470095
--- /dev/null
+++ b/games-roguelike/stone-soup/files/gitless.patch
@@ -0,0 +1,13 @@
+--- /Makefile 2019-04-15 19:34:40.604288477 -0500
++++ /Makefile 2019-04-15 19:36:25.249286603 -0500
+@@ -1149,9 +1149,8 @@
+
+ LANGUAGES = $(filter-out en, $(notdir $(wildcard dat/descript/??)))
+ SRC_PKG_BASE := stone_soup
+-SRC_VERSION := $(shell git describe --tags $(MERGE_BASE) 2>/dev/null || cat util/release_ver)
++SRC_VERSION := $(shell cat util/release_ver)
+ MAJOR_VERSION = $(shell echo "$(SRC_VERSION)"|sed -r 's/-.*//;s/^([^.]+\.[^.]+).*/\1/')
+-RECENT_TAG := $(shell git describe --abbrev=0 --tags $(MERGE_BASE))
+
+ export SRC_VERSION
+
diff --git a/games-roguelike/stone-soup/stone-soup-0.23.2.ebuild b/games-roguelike/stone-soup/stone-soup-0.23.2.ebuild
index 9ac6df9654a4..97418769c952 100644
--- a/games-roguelike/stone-soup/stone-soup-0.23.2.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.23.2.ebuild
@@ -62,6 +62,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}/source
S_TEST=${WORKDIR}/${MY_P}_test/source
PATCHES=(
+ "${FILESDIR}"/gitless.patch
"${FILESDIR}"/rltiles-ldflags-libs.patch
)