mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-engines/xsystem4: add patch to fix version number option
Signed-off-by: hautist <lookatnadeko@protonmail.com>
This commit is contained in:
9
games-engines/xsystem4/files/version_1.0.0.patch
Normal file
9
games-engines/xsystem4/files/version_1.0.0.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
diff -ur a/src/meson.build b/src/meson.build
|
||||
--- a/src/meson.build 2025-09-29 02:52:05.000000000 +0100
|
||||
+++ b/src/meson.build 2025-09-30 14:58:30.420678438 +0100
|
||||
@@ -1,5 +1,5 @@
|
||||
version_h = vcs_tag(command) : ['git', 'descrive', 'HEAD'],
|
||||
- fallback : 'unknown version',
|
||||
+ fallback : '1.0.0',
|
||||
input : 'version.h.in',
|
||||
output : 'version.h')
|
||||
@@ -53,6 +53,11 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Patch to correct version number for each release, patch must be edited for each new version
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/version_"{PV}".patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user