Skip to content

Commit

Permalink
games-roguelike/stone-soup: disable git operations
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/683278
Signed-off-by: Erik Mackdanz <[email protected]>
Package-Manager: Portage-2.3.62, Repoman-2.3.12
  • Loading branch information
Erik Mackdanz committed Apr 16, 2019
1 parent 42778bb commit b848934
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions games-roguelike/stone-soup/files/gitless.patch
Original file line number Diff line number Diff line change
@@ -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

1 change: 1 addition & 0 deletions games-roguelike/stone-soup/stone-soup-0.23.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit b848934

Please sign in to comment.