From bfbe26989b85eda59f971472a8acbdf8da4b6afd Mon Sep 17 00:00:00 2001 From: Josselin Poiret Date: Sun, 18 Feb 2024 12:07:32 +0100 Subject: gnu: tevent: Remove reference to crypt. * gnu/packages/samba.scm (tevent): Remove reference to crypt header. Change-Id: Ic99712c9374dee1fd5b65c29327fe39aa10eed35 --- gnu/packages/samba.scm | 8 ++++++++ 1 file changed, 8 insertions(+) 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 @@ (define-public tevent (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 ") + "")))) (replace 'configure ;; tevent uses a custom configuration script that runs waf. (lambda* (#:key outputs #:allow-other-keys) -- cgit v1.2.3