diff options
Diffstat (limited to 'net-misc/mosh/files/mosh-1.2.5-git-version.patch')
-rw-r--r-- | net-misc/mosh/files/mosh-1.2.5-git-version.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/mosh/files/mosh-1.2.5-git-version.patch b/net-misc/mosh/files/mosh-1.2.5-git-version.patch new file mode 100644 index 000000000000..d97d98377b89 --- /dev/null +++ b/net-misc/mosh/files/mosh-1.2.5-git-version.patch @@ -0,0 +1,16 @@ +--- mosh-1.2.5/Makefile.am ++++ mosh-1.2.5/Makefile.am +@@ -8,12 +8,7 @@ + + VERSION: + @echo @PACKAGE_STRING@ > VERSION.dist +- @set -e; if git describe --dirty --always > VERSION.git 2>&1 && \ +- [ -z `git rev-parse --show-prefix` ]; then \ +- if ! diff -q VERSION.git VERSION > /dev/null 2>&1; then \ +- mv -f VERSION.git VERSION; \ +- fi; \ +- elif ! diff -q VERSION.dist VERSION > /dev/null 2>&1; then \ ++ @set -e; if ! diff -q VERSION.dist VERSION > /dev/null 2>&1; then \ + mv -f VERSION.dist VERSION; \ + fi + @rm -f VERSION.dist VERSION.git |