summaryrefslogtreecommitdiff
path: root/net-misc/mosh/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/mosh/files
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/mosh/files')
-rw-r--r--net-misc/mosh/files/mosh-1.2.5-git-version.patch16
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