summaryrefslogtreecommitdiff
path: root/games/stonesoup/files/patch-util_gen__ver.pl
diff options
context:
space:
mode:
Diffstat (limited to 'games/stonesoup/files/patch-util_gen__ver.pl')
-rw-r--r--games/stonesoup/files/patch-util_gen__ver.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/stonesoup/files/patch-util_gen__ver.pl b/games/stonesoup/files/patch-util_gen__ver.pl
index 7323aee937d6..58ff3171816b 100644
--- a/games/stonesoup/files/patch-util_gen__ver.pl
+++ b/games/stonesoup/files/patch-util_gen__ver.pl
@@ -1,12 +1,12 @@
---- util/gen_ver.pl.orig 2022-01-25 18:04:53 UTC
+--- util/gen_ver.pl.orig 2025-05-02 16:11:38 UTC
+++ util/gen_ver.pl
-@@ -20,8 +20,7 @@ mkdir dirname($outfile);
+@@ -21,8 +21,7 @@ mkdir dirname($outfile);
#
# Source tarbells distributed as part of a release include this file already
# generated with the release version.
--$_ = `git describe $mergebase 2> /dev/null`
+-$_ = `git describe $mergebase 2> $nullfile`
- || (open(IN, "<", "$scriptpath/release_ver") ? <IN>
+$_ = (open(IN, "<", "$scriptpath/release_ver") ? <IN>
- : die "Can't get version information: `git describe` failed (no git, no repository, or shallow clone), and $scriptpath/release_ver doesn't exist.\n")
- or die "couldn't get the version information\n";
+ : die "Error: Can't get version information: `git describe` failed (no git, no repository, or shallow clone), and $scriptpath/release_ver doesn't exist.\n")
+ or die "Error: couldn't get the version information\n";