1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-23 09:35:56 +02:00

gnu: opensp: Fix build on the Hurd.

* gnu/packages/patches/opensp-maxpathlen.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/xml.scm (opensp): Add phase for adding the patch.

Change-Id: I47278396eb5ded8f654708019e51b7d88b13b976
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Yelninei
2026-01-02 08:43:56 +00:00
committed by Liliana Marie Prikler
parent 8b19b95599
commit 3afbbf8ae3
3 changed files with 49 additions and 0 deletions
+7
View File
@@ -1845,6 +1845,13 @@ modular implementation of XML-RPC for C and C++.")
#:make-flags #~(list "TESTS_THAT_FAIL=")
#:phases
#~(modify-phases %standard-phases
#$@(if (target-hurd?)
#~((add-after 'unpack 'patch-hurd
(lambda _
(let ((patch #$(local-file
(search-patch "opensp-maxpathlen.patch"))))
(invoke "patch" "--force" "-p1" "-i" patch)))))
#~())
(add-after 'unpack 'delete-configure
;; The configure script in the release was made with an older
;; Autoconf and lacks support for the `--docdir' option.