summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/gnumach-version.patch
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <[email protected]>2024-11-02 15:44:17 +0100
committerJanneke Nieuwenhuizen <[email protected]>2024-12-03 08:33:12 +0100
commitd3eb509abe6e239d211bc850c74ed66338f60c99 (patch)
tree5e702a7d1716386ad81d4ff35be57f0fe027413e /gnu/packages/patches/gnumach-version.patch
parent5cb84f2013c5b1e48a7d0e617032266f1e6059e2 (diff)
gnu: gnumach: Update to v1.8+git20240714.
* gnu/packages/patches/gnumach-version.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20240714 and use it. * gnu/packages/commencement.scm (gnumach-headers-boot0)[origin]: Reset patches. Change-Id: I147c64021c2ee79dfc4cd4fd9a29529eef8890c5
Diffstat (limited to 'gnu/packages/patches/gnumach-version.patch')
-rw-r--r--gnu/packages/patches/gnumach-version.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/patches/gnumach-version.patch b/gnu/packages/patches/gnumach-version.patch
new file mode 100644
index 0000000000..aec3c86a16
--- /dev/null
+++ b/gnu/packages/patches/gnumach-version.patch
@@ -0,0 +1,23 @@
+Upstream-status: Taken from Debian upstream:
+ <https://salsa.debian.org/hurd-team/gnumach/-/raw/master/debian/patches/12_version_suffix.patch>
+
+Index: gnumach/configure.ac
+===================================================================
+--- gnumach.orig/configure.ac
++++ gnumach/configure.ac
+@@ -19,6 +19,7 @@ AC_PREREQ([2.57])
+ 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])
+
+ if test -z "${CFLAGS+set}"; then
+Index: gnumach/version.c.in
+===================================================================
+--- gnumach.orig/version.c.in
++++ gnumach/version.c.in
+@@ -1,2 +1,2 @@
+ /* @configure_input@ */
+-const char version[] = "@PACKAGE_NAME@ @PACKAGE_VERSION@";
++const char version[] = "@PACKAGE_NAME@ @PACKAGE_VERSION@@PACKAGE_VERSION_SUFFIX@";