[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] [wine] 02/02: Add patch to append '(Debian)' to the version string.



This is an automated email from the git hooks/post-receive script.

jreyer-guest pushed a commit to branch master
in repository wine.

commit 9ce00eea7c54ab4a455903a9e6e862b9a6a9d163
Author: Jens Reyer <jre.winesim@gmail.com>
Date:   Fri Apr 15 22:00:48 2016 +0200

    Add patch to append '(Debian)' to the version string.
---
 debian/patches/series               |  1 +
 debian/patches/version-string.patch | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 723ca85..643bb3c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,6 +2,7 @@ makefile.patch
 kfreebsd.patch
 sfnt2fon.patch
 manpages.patch
+version-string.patch
 
 disable/tests.patch
 disable/shlib-exit-calls.patch
diff --git a/debian/patches/version-string.patch b/debian/patches/version-string.patch
new file mode 100644
index 0000000..31e99e8
--- /dev/null
+++ b/debian/patches/version-string.patch
@@ -0,0 +1,15 @@
+Description: winelib: Append '(Debian)' at the end of the version string.
+Origin: https://github.com/wine-compholio/wine-staging/blob/master/patches/Staging/0002-winelib-Append-Staging-at-the-end-of-the-version-s.patch
+Forwarded: not-needed
+
+--- a/libs/wine/Makefile.in
++++ b/libs/wine/Makefile.in
+@@ -112,7 +112,7 @@ libwine_LDFLAGS = $(LIBWINE_LDFLAGS)
+ libwine_DEPS = $(LIBWINE_DEPENDS)
+ 
+ version.c: dummy
+-	version=`(GIT_DIR=$(top_srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || ($(RM) $@ && exit 1)
++	version=`(GIT_DIR=$(top_srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1  (Debian)";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || ($(RM) $@ && exit 1)
+ 
+ dummy:
+ .PHONY: dummy

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



Reply to: