From: Erik Mackdanz Date: Tue, 16 Apr 2019 01:11:49 +0000 (-0500) Subject: games-roguelike/stone-soup: disable git operations X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b848934c51d73afe2436a7f89dbdd2f3e66294f2;p=gentoo.git games-roguelike/stone-soup: disable git operations Closes: https://bugs.gentoo.org/683278 Signed-off-by: Erik Mackdanz Package-Manager: Portage-2.3.62, Repoman-2.3.12 --- 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 )