From 0e012aac5d5cf1bb7b61bcec750659890cef5367 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 11 Jun 2012 01:06:23 +0000 Subject: Append version suffixes * patches/12_version_suffix.patch: New patch to append suffix to Mach version. * rules: Add version suffixes. --- debian/patches/12_version_suffix.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/patches/12_version_suffix.patch (limited to 'debian/patches/12_version_suffix.patch') diff --git a/debian/patches/12_version_suffix.patch b/debian/patches/12_version_suffix.patch new file mode 100644 index 0000000..acbdf9f --- /dev/null +++ b/debian/patches/12_version_suffix.patch @@ -0,0 +1,20 @@ +Index: gnumach/configure.ac +=================================================================== +--- gnumach.orig/configure.ac 2012-06-11 00:49:00.000000000 +0000 ++++ gnumach/configure.ac 2012-06-11 00:54:31.000000000 +0000 +@@ -19,6 +19,7 @@ + m4_include([version.m4]) + AC_INIT([AC_PACKAGE_NAME], [AC_PACKAGE_VERSION], [AC_PACKAGE_BUGREPORT], + [AC_PACKAGE_TARNAME]) ++AC_SUBST([PACKAGE_VERSION_SUFFIX]) + AC_CONFIG_SRCDIR([kern/ipc_kobject.c]) + + AC_CONFIG_AUX_DIR([build-aux]) +Index: gnumach/version.c.in +=================================================================== +--- gnumach.orig/version.c.in 2012-06-11 00:49:00.000000000 +0000 ++++ gnumach/version.c.in 2012-06-11 00:49:22.000000000 +0000 +@@ -1,2 +1,2 @@ + /* @configure_input@ */ +-const char version[] = "@PACKAGE_NAME@ @PACKAGE_VERSION@"; ++const char version[] = "@PACKAGE_NAME@ @PACKAGE_VERSION@@PACKAGE_VERSION_SUFFIX@"; -- cgit v1.2.3