mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: guile-lzlib: Fix build with gcc-14.
* gnu/packages/patches/guile-lzlib-gcc-14.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/guile.scm (guile-lzlib)["source"]: Use it, together with "guile-lzlib-hurd64.patch". [arguments]: Remove "apply-hurd64-patch" phase. Change-Id: Iecc42bfd192c21b08b56c144e4dc95bb5ebc875c
This commit is contained in:
parent
1a329dd9db
commit
20feb4bd14
3 changed files with 37 additions and 12 deletions
|
|
@ -944,21 +944,13 @@ Guile's foreign function interface.")
|
|||
(file-name (string-append "guile-lzlib-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1whgmwkr1v8m63p4aaqn8blwl9vcrswwhbfv4bm0aghl5a6rryd7"))))
|
||||
"1whgmwkr1v8m63p4aaqn8blwl9vcrswwhbfv4bm0aghl5a6rryd7"))
|
||||
(patches (search-patches "guile-lzlib-gcc-14.patch"
|
||||
"guile-lzlib-hurd64.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:make-flags #~'("GUILE_AUTO_COMPILE=0") ;prevent guild warnings
|
||||
#:phases (if (or (%current-target-system) (target-hurd64?))
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'apply-hurd64-patch
|
||||
(lambda _
|
||||
(let ((patch
|
||||
#$(local-file
|
||||
(search-patch
|
||||
"guile-lzlib-hurd64.patch"))))
|
||||
(invoke "patch" "--force" "-p1" "-i" patch)))))
|
||||
#~%standard-phases)))
|
||||
#:make-flags #~'("GUILE_AUTO_COMPILE=0"))) ;prevent guild warnings
|
||||
(native-inputs (list autoconf automake pkg-config guile-3.0))
|
||||
(inputs (list guile-3.0 lzlib))
|
||||
(synopsis "Guile bindings to lzlib")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue