gnu: glibc/hurd: Add patches from glibc 2.42.
* gnu/packages/base.scm (glibc/hurd): Remove intr-msg-clobber.patch, add
signal-fpe-exception.patch and xstate.patch.
gnu/packages/patches/glibc-hurd-signal-fpe-exception.patch, gnu/packages/patches/glibc-hurd-xstate.patch : New patches
* gnu/local.mk (dist_patch_DATA): Register them.
Change-Id: Ib5b38f1fb8b43d76ec236232be8ff7552dad7422
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: hurd: Update to 0.9.git20250801.
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to
0.9.git20250801.
* gnu/packages/hurd.scm (hurd-headers): Same.
(hurd): Remove hurd-socket-activation.patch.
* gnu/packages/patches/hurd-socket-activation.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Deregister it.
* gnu/packages/patches/hurd-rumpdisk-no-hd.patch: Update patch.
Change-Id: I88f94a940c49a4d938e1e21e13df9815204d5d22
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: gnumach: Fix division by zero trap on x86_64.
* gnu/packages/patches/gnumach-div0.patch: New patch
* gnu/packages/hurd.scm (gnumach): Add it.
* gnu/local.mk (dist_patch_DATA): Register patch.
Change-Id: If2c096209a23619cafd55855e519674076c6a043
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: freedink-engine: Fix build.
* gnu/packages/patches/freedink-engine-fix-const-char.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/games.scm (freedink-engine)[patches]: Add patch.
[arguments]: Skip failing 'TestIOTouchDragAnywhere' test.
Fixes: guix/guix#3982 guix/guix#4004
Change-Id: I90c8fc78fa5649f662a26cee17622fbbb1fc9bca
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
gnu: 389-ds-base: Fix LegacyVersion issue.
LegacyVersion does not exist anymore in packaging.version 25.0
(https://github.com/pypa/packaging/pull/407). Add a stub to prevent runtime
errors such as:
Traceback (most recent call last):
File "/gnu/store/jq8iknqq5niwx9vchccbnnw6jdb3x8nq-389-ds-base-2.2.2/sbin/.dscreate-real", line 18, in <module>
from lib389 import DirSrv
File "/gnu/store/jq8iknqq5niwx9vchccbnnw6jdb3x8nq-389-ds-base-2.2.2/lib/python3.11/site-packages/lib389/__init__.py", line 54, in <module>
from lib389._entry import Entry
File "/gnu/store/jq8iknqq5niwx9vchccbnnw6jdb3x8nq-389-ds-base-2.2.2/lib/python3.11/site-packages/lib389/_entry.py", line 20, in <module>
from lib389.utils import (ensure_str, ensure_bytes, ensure_list_bytes, display_log_data)
File "/gnu/store/jq8iknqq5niwx9vchccbnnw6jdb3x8nq-389-ds-base-2.2.2/lib/python3.11/site-packages/lib389/utils.py", line 49, in <module>
from packaging.version import LegacyVersion
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/gnu/store/5ga1x27pz9wqwhq3sndcymfngdvcr4w9-python-packaging-bootstrap-25.0/lib/python3.11/site-packages/packaging/version.py)
* gnu/packages/patches/389-ds-base-legacy-version.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/openldap.scm (389-ds-base): Use it.
Change-Id: I34c12dce3092f9911383ae380af13ef74285ebc4
gnu: Add swift@6.2.
* gnu/packages/swift.scm (%swift-6.2-source): New variable.
(%swift-libdispatch-6.2-source): New variable.
(%swift-syntax-6.2-source): New variable.
(swift-6.2): New variable.
* gnu/packages/patches/swift-6.2-cplus-include-path.patch: New file.
* gnu/packages/patches/swift-6.2-exclude-scan-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
Change-Id: I795a87ec7c8203f26ce380c805a28d53b2c4fe65
gnu: Add swift-bootstrap.
* gnu/packages/swift.scm (swift-bootstrap): New variable.
(%swift-bootstrap-source): New variable.
(%swift-libdispatch-source): New variable.
* gnu/local.mk (dist_patch_DATA): Add swift-5.7.3-sdk-path.patch,
swift-5.7.3-sourcekit-rpath.patch,
swift-corelibs-libdispatch-5.6.3-lock-cpp.patch,
swift-corelibs-libdispatch-5.7.3-modulemap.patch.
* gnu/packages/patches/swift-5.7.3-sdk-path.patch: New file.
* gnu/packages/patches/swift-5.7.3-sourcekit-rpath.patch: New file.
* gnu/packages/patches/swift-corelibs-libdispatch-5.6.3-lock-cpp.patch: New file.
* gnu/packages/patches/swift-corelibs-libdispatch-5.7.3-modulemap.patch: New file.
Change-Id: Ibcab88d88be0cc9634f297d17174ca99060e4d98
gnu: Add swift-llvm.
* gnu/packages/llvm.scm (swift-llvm): New variable.
* gnu/local.mk (dist_patch_DATA): Add swift-llvm-5.7.3-linux.patch.
* gnu/packages/patches/swift-llvm-5.7.3-linux.patch: New file.
Change-Id: Ifc456c68c8e1fc551b8a75ecfcda91813b8cacdc
gnu: Add swift-cmark.
* gnu/packages/swift.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add reference to it.
Change-Id: I107a466da824670ce71f38b9e03be06b1e35612a
gnu: clang-17: Fix build with gcc-14 on ARM.
* gnu/packages/patches/clang-17.0-fix-build-with-gcc-14-on-arm.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/llvm.scm (clang-from-llvm): Treat patches as additional patches
when no hash provided.
(clang-17): Apply the patch.
Change-Id: I2c6580958c6d646703143872bbc59fd390e9cc95
Signed-off-by: Hilton Chain <hako@ultrarare.space>
gnu: Add mc2mt.
* gnu/packages/game-development.scm (mc2mt): New variable.
* gnu/packages/patches/mc2mt-add-packaging-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
Change-Id: Ia4b268ab1c3f104bb81f386e220be47d2356e539
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
gnu: icecat: Patch to .desktop file, to fix opening file or links.
* gnu/packages/patches/icecat-adjust-mozilla-desktop.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gnuzilla.scm (icecat-minimal)
[#phases] {apply-guix-specific-patches}: Apply it.
Fixes: #3566
Suggested-by: Ron Nazarov <ron@noisytoot.org>
Change-Id: I1fcc0829a4d079e4154be2f186bf9bab4da92e3f
gnu: libtool: Update to 2.5.4.
* gnu/packages/autotools.scm (libtool): Update to 2.5.4.
[source]: Delete patches.
[#:phases] {skip-some-tests-on-extra-archs}: New phases.
* gnu/packages/patches/libtool-grep-compat.patch: Delete file.
* gnu/packages/patches/libtool-skip-tests2.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Change-Id: I6f16e7edd996c5b577acdbbd4905ec63d27b3655
gnu: flex: Apply a patch fixing a non-deterministic build failure.
* gnu/packages/patches/flex-fix-make-dependencies.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/flex.scm (flex) [source]: Apply it, wrapping the origin in a
bootstrap-origin call to avoid a circular dependency problem.
Change-Id: I7b9994a9239bdafa5c7768b9f954870716c76ad7
gnu: dbxfs: Update to 2.0.1.
* gnu/packages/python-xyz.scm (dbxfs): Update to 2.0.1.
[source]<patches>: Drop patch. The code has been reorganized in a way
that makes it easier to drop the sentry_sdk dependency.
[arguments]<#:phases>: Drop the sentry_sdk dependency in phase
'relax-requirements.
[propagated-inputs]: Remove python-keyring, python-keyrings-alt.
Change-Id: Ied640a1b5de9ed2dae462184cce51692243b9dfb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: fritzing: Fix build.
* gnu/local.mk: Register patch.
* gnu/packages/engineering.scm (fritzing):
[patches]: Add patch.
[arguments] <#:phases>: Move source code substitution from configure to after
unpack. Patch src/utils/textutils.cpp to remove non-determinism. Add generate-parts-db.
* gnu/packages/patches/fritzing-0.9.6-fix-types.patch: New patch.
Fixes: guix/guix#3432
Change-Id: Id42f425c1da59cbc56b0b6bbd71380112a655280
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
gnu: xlispstat: Fix compilation with modern GCC versions.
Package compilation would fail with modern GCC due to deprecated features that
are used in the package source code. This patch updates the package to
modernize the source code to fix compilation errors (see
<https://github.com/jhbadger/xlispstat/pull/1>.)
* gnu/packages/statistics.scm (xlispstat): Fix compilation with GCC version 14
or newer.
[source]: Add a patch.
* gnu/packages/patches/xlispstat-fix-compilation-with-modern-gcc.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register the patch.
Change-Id: I0f8b194887298fff196be7426a0de7eb247a8c48