guix/gnu/packages/patches/gnumach-version.patch
Janneke Nieuwenhuizen d3eb509abe
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
2024-12-03 08:33:12 +01:00

23 lines
907 B
Diff

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@";