me
/
guix
Archived
1
0
Fork 0

gnu: libotr: Fix compilation with glibc 2.35.

* gnu/packages/messaging.scm (libotr)[source]: Add 'snippet'.
master
Ludovic Courtès 2023-04-20 23:04:28 +02:00
parent dc9c09023a
commit 5c26e06efa
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 0 deletions

View File

@ -460,6 +460,12 @@ powerful, standard and open protocol.")
version ".tar.gz"))
(sha256
(base32 "1x8rliydhbibmzwdbyr7pd7n87m2jmxnqkpvaalnf4154hj1hfwb"))
(modules '((guix build utils)))
(snippet
;; Add missing #include that causes a build failure with glibc 2.35.
#~(substitute* "tests/regression/client/client.c"
(("_GNU_SOURCE" all)
(string-append all "\n#include <sys/socket.h>\n"))))
(patches
(search-patches "libotr-test-auth-fix.patch"))))
(build-system gnu-build-system)