[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/36: gnu: gcc: Simplify application of Hurd-specific pthread patch.
From: |
guix-commits |
Subject: |
11/36: gnu: gcc: Simplify application of Hurd-specific pthread patch. |
Date: |
Wed, 14 Feb 2024 04:31:13 -0500 (EST) |
jpoiret pushed a commit to branch core-updates-glibc-2.39
in repository guix.
commit 4a92cd5c6898d95636de347d4b1859a8605de90d
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Thu Feb 1 14:35:16 2024 +0100
gnu: gcc: Simplify application of Hurd-specific pthread patch.
* gnu/packages/gcc.scm (gcc-11): Apply
gcc-11-libstdc++-hurd-libpthread.patch
unconditionally.
(gcc-12): Also apply gcc-11-libstdc++-hurd-libpthread.patch.
Change-Id: I80e2b2adb5636e1bff4536c5a0a348955454e81d
---
gnu/packages/gcc.scm | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index a97693d5e8..3162f474b6 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -731,21 +731,10 @@ It also includes runtime support libraries for these
languages.")
(base32
"1ncd7akww0hl5kkmw1dj3qgqp3phdrr5dfnm7jia9s07n0ib4b9z"))
(patches (search-patches "gcc-9-strmov-store-file-names.patch"
- "gcc-5.0-libvtv-runpath.patch"))
+ "gcc-5.0-libvtv-runpath.patch"
+ "gcc-11-libstdc++-hurd-libpthread.patch"))
(modules '((guix build utils)))
(snippet gcc-canadian-cross-objdump-snippet)))
- (arguments
- (substitute-keyword-arguments (package-arguments gcc-8)
- ((#:phases phases #~%standard-phases)
- (if (target-hurd?)
- #~(modify-phases #$phases
- (add-after 'unpack 'patch-hurd-libpthread
- (lambda _
- (define patch
- #$(local-file
- (search-patch
"gcc-11-libstdc++-hurd-libpthread.patch")))
- (invoke "patch" "--force" "-p1" "-i" patch))))
- phases))))
(properties
`((compiler-cpu-architectures
("aarch64" ,@%gcc-11-aarch64-micro-architectures)
@@ -765,7 +754,8 @@ It also includes runtime support libraries for these
languages.")
(base32
"0fwcvbgpmjdfj5drfs8k6bkqsmxmz8pv4cmmjcd451p7k57mv6ll"))
(patches (search-patches "gcc-12-strmov-store-file-names.patch"
- "gcc-5.0-libvtv-runpath.patch"))
+ "gcc-5.0-libvtv-runpath.patch"
+
"gcc-11-libstdc++-hurd-libpthread.patch"))
(modules '((guix build utils)))
(snippet gcc-canadian-cross-objdump-snippet)))
(properties
- branch core-updates-glibc-2.39 created (now fabcd3aef9), guix-commits, 2024/02/14
- 02/36: gnu: Add libdevmapper-propagated-inputs., guix-commits, 2024/02/14
- 01/36: gnu: cryptsetup: Update to 2.6.1., guix-commits, 2024/02/14
- 06/36: gnu: lvm2-static: Properly handle eudev dependency in pkg-config., guix-commits, 2024/02/14
- 09/36: gnu: ffmpeg: Fix builds., guix-commits, 2024/02/14
- 12/36: gnu: gcc: Patch crypt out of bundled libsanitizer., guix-commits, 2024/02/14
- 07/36: gnu: cryptsetup-static: Fix static build., guix-commits, 2024/02/14
- 11/36: gnu: gcc: Simplify application of Hurd-specific pthread patch.,
guix-commits <=
- 13/36: gnu: libxcrypt: Remove python from native-inputs., guix-commits, 2024/02/14
- 14/36: gnu: python: Add libxcrypt dependency., guix-commits, 2024/02/14
- 19/36: gnu: eudev: Update to 3.2.14., guix-commits, 2024/02/14
- 20/36: services: udev: Rewrite udev-rule to use file->udev-rule., guix-commits, 2024/02/14
- 28/36: gnu: apr: Add libxcrypt dependency., guix-commits, 2024/02/14
- 15/36: gnu: linux-pam: Add libxcrypt dependency., guix-commits, 2024/02/14
- 16/36: gnu: elogind: Add libxcrypt dependency., guix-commits, 2024/02/14
- 18/36: gnu: tcsh: Add libxcrypt dependency., guix-commits, 2024/02/14
- 26/36: gnu: apr: Update to 1.7.4., guix-commits, 2024/02/14
- 31/36: gnu: cups-minimal: Add libxcrypt dependency., guix-commits, 2024/02/14