diff options
Diffstat (limited to 'app-emacs/lyskom-elisp-client/files/lyskom-elisp-client-0.48_p20161231-no-git.patch')
-rw-r--r-- | app-emacs/lyskom-elisp-client/files/lyskom-elisp-client-0.48_p20161231-no-git.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-emacs/lyskom-elisp-client/files/lyskom-elisp-client-0.48_p20161231-no-git.patch b/app-emacs/lyskom-elisp-client/files/lyskom-elisp-client-0.48_p20161231-no-git.patch new file mode 100644 index 000000000000..53ae30abacc2 --- /dev/null +++ b/app-emacs/lyskom-elisp-client/files/lyskom-elisp-client-0.48_p20161231-no-git.patch @@ -0,0 +1,20 @@ +--- lyskom-elisp-client-orig/src/Makefile ++++ lyskom-elisp-client/src/Makefile +@@ -41,7 +41,7 @@ + # Also remember to change version number in ../doc/Makefile! + LASTRELEASE = 0.48 + NEXTRELEASE = 0.49 +-CLIENTVERSION = $(shell (git describe --exact-match --tags HEAD 2>/dev/null || git describe --tags --match 'v*' --dirty) | sed -e 's/^v//' -e 's/-/-devbuild-/') ++CLIENTVERSION = unknown + + ###################################################################### + +@@ -155,7 +155,7 @@ + + version.el: version.el.in Makefile $(HEADER1) $(HEADER2) $(LANGUAGE-EL) $(SOURCES) + rm -f $@ +- sed "s/@@CLIENTVERSION@@/$(LASTRELEASE) (`date +%Y-%m-%d`; Git `git rev-parse --short HEAD``git diff --quiet HEAD||echo '*'`)/g" <$< >$@ ++ sed "s/@@CLIENTVERSION@@/$(LASTRELEASE) (@@DATE@@; Git *)/g" <$< >$@ + chmod 444 $@ + + version.el-release: version.el.in Makefile $(HEADER1) $(HEADER2) $(LANGUAGE-EL) $(SOURCES) |