mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: libotr: Fix compilation with glibc 2.35.
* gnu/packages/messaging.scm (libotr)[source]: Add 'snippet'.
This commit is contained in:
parent
dc9c09023a
commit
5c26e06efa
1 changed files with 6 additions and 0 deletions
|
@ -460,6 +460,12 @@ (define-public libotr
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue