mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
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
This commit is contained in:
parent
5cb84f2013
commit
d3eb509abe
4 changed files with 29 additions and 5 deletions
|
@ -1463,6 +1463,7 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/gnome-session-support-elogind.patch \
|
%D%/packages/patches/gnome-session-support-elogind.patch \
|
||||||
%D%/packages/patches/gnome-tweaks-search-paths.patch \
|
%D%/packages/patches/gnome-tweaks-search-paths.patch \
|
||||||
%D%/packages/patches/gnulib-bootstrap.patch \
|
%D%/packages/patches/gnulib-bootstrap.patch \
|
||||||
|
%D%/packages/patches/gnumach-version.patch \
|
||||||
%D%/packages/patches/gnupg-default-pinentry.patch \
|
%D%/packages/patches/gnupg-default-pinentry.patch \
|
||||||
%D%/packages/patches/gnupg-1-build-with-gcc10.patch \
|
%D%/packages/patches/gnupg-1-build-with-gcc10.patch \
|
||||||
%D%/packages/patches/gnutls-skip-trust-store-test.patch \
|
%D%/packages/patches/gnutls-skip-trust-store-test.patch \
|
||||||
|
|
|
@ -2639,6 +2639,7 @@ memoized as a function of '%current-system'."
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(inherit (package-source gnumach-headers))
|
(inherit (package-source gnumach-headers))
|
||||||
|
(patches '())
|
||||||
(method
|
(method
|
||||||
(git-fetch-from-tarball
|
(git-fetch-from-tarball
|
||||||
(origin
|
(origin
|
||||||
|
|
|
@ -57,21 +57,20 @@
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
|
|
||||||
(define-public gnumach-headers
|
(define-public gnumach-headers
|
||||||
(let ((revision "0")
|
(let ((commit "v1.8+git20240714"))
|
||||||
(commit "2556fdece900d67529d5eda01f1bdaae4ffe96b0"))
|
|
||||||
(package
|
(package
|
||||||
(name "gnumach-headers")
|
(name "gnumach-headers")
|
||||||
(version (git-version "1.8" revision commit))
|
(version (string-drop commit 1))
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://git.savannah.gnu.org/git/hurd/gnumach.git")
|
(url "https://git.savannah.gnu.org/git/hurd/gnumach.git")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
|
(patches (search-patches "gnumach-version.patch"))
|
||||||
(file-name (git-file-name "gnumach" version))
|
(file-name (git-file-name "gnumach" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0ykav1kx0bgxcxw04bpcsh5s4531fzdkahjgrlsfs2h3w3vfkga0"))))
|
||||||
"1lzsbix0l4jhab38pvwnmk7ip1lsn7m5smhnrciqajsqnadsnlzs"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
|
23
gnu/packages/patches/gnumach-version.patch
Normal file
23
gnu/packages/patches/gnumach-version.patch
Normal file
|
@ -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@";
|
Loading…
Add table
Add a link
Reference in a new issue