From 489e943275d73a13cbb234597591ed5ad237787e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 24 Oct 2025 00:31:50 +0200 Subject: [PATCH] gnu: telepathy-gabble, telepathy-salut: Fix wocky compilation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/freedesktop.scm (telepathy-gabble)[source]: Add ‘snippet’. (telepathy-salut)[source]: Likewise. Fixes: guix/guix#3662 Change-Id: I33f7be07481e3ae4b406a45ad07e3f8afedf2b46 --- gnu/packages/freedesktop.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 2d80d6980498312667e05081caa741a785bf83c0..03e8b581ddec8be409c9b2e755884d02234774ed 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -2114,7 +2114,14 @@ modems and setup connections with them.") (file-name (git-file-name name version)) (sha256 (base32 - "00ss14hf1qwb42648cldghmfjfn1nkjvpy508b7vaz322fj37qa4")))) + "00ss14hf1qwb42648cldghmfjfn1nkjvpy508b7vaz322fj37qa4")) + (modules '((guix build utils))) + (snippet + ;; Add missing 'const' qualifier to '_error' function. This fixes + ;; an "incompatible pointer type" error with libxml2 2.14. + #~(substitute* "lib/ext/wocky/wocky/wocky-xmpp-reader.c" + (("xmlErrorPtr error") + "const xmlError *error"))))) (build-system gnu-build-system) (arguments (list @@ -2315,7 +2322,10 @@ share connections to real-time communication services without conflicting.") (file-name (git-file-name name version)) (sha256 (base32 - "195pz8dgwhyy1cygd0rlncyr3c4wzhnf99sfjj5qmc8j195j1k7a")))) + "195pz8dgwhyy1cygd0rlncyr3c4wzhnf99sfjj5qmc8j195j1k7a")) + (modules '((guix build utils))) + (snippet ;for wocky + (origin-snippet (package-source telepathy-gabble))))) (build-system gnu-build-system) (arguments (list