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