diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2024-02-18 12:07:32 +0100 |
---|---|---|
committer | Josselin Poiret <dev@jpoiret.xyz> | 2024-03-09 16:06:21 +0100 |
commit | d44d427e847b678bce0d0764b8a766a51f3e1e34 (patch) | |
tree | d6b198451d23b0897df6f5d0089338b2f4d88cff | |
parent | 5f08d9ce0962c6cf1fb1e037eaf767eb3b72fa07 (diff) |
gnu: tevent: Remove reference to crypt.
* gnu/packages/samba.scm (tevent): Remove reference to crypt header.
Change-Id: Ic99712c9374dee1fd5b65c29327fe39aa10eed35
-rw-r--r-- | gnu/packages/samba.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index bf92b210c3..2d1ea5959d 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -397,6 +397,14 @@ destructors. It is the core memory allocator used in Samba.") (arguments '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'remove-crypt-reference + ;; The following is needed because Python.h propagates + ;; HAVE_CRYPT_H, which is then seen from lib/replace/ but talloc + ;; doesn't need it at all. + (lambda _ + (substitute* "lib/replace/replace.h" + (("#include <crypt.h>") + "")))) (replace 'configure ;; tevent uses a custom configuration script that runs waf. (lambda* (#:key outputs #:allow-other-keys) |