void-packages/srcpkgs/srb2/patches/comptime.patch

20 lines
462 B
Diff

diff -Naur comptime.sh comptime.sh.new
--- a/SRB2-SRB2_release_2.2.10/comptime.sh 2022-03-06 13:52:43.000000000 -0800
+++ b/SRB2-SRB2_release_2.2.10/comptime.sh 2022-03-06 17:05:02.725041025 -0800
@@ -40,13 +40,14 @@
const char* compbranch = "Unknown";
const char* comprevision = "illegal";
EOF
+exit 0
}
compversion() {
touch $path/comptime.c
-versionfake
test -d $path/.svn && versionsvn
test -d $path/../.git && versiongit
+versionfake
exit 1
}