guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

44/45: gnu: ldb: Remove reference to crypt.


From: guix-commits
Subject: 44/45: gnu: ldb: Remove reference to crypt.
Date: Sun, 18 Feb 2024 08:41:12 -0500 (EST)

jpoiret pushed a commit to branch core-updates-glibc-2.39
in repository guix.

commit c0aafa2206c7bfad8660703197745ddf504c2f24
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Sun Feb 18 12:07:43 2024 +0100

    gnu: ldb: Remove reference to crypt.
    
    * gnu/packages/samba.scm (ldb): Remove reference to crypt header.
    
    Change-Id: Idcf43ff9b140d5c7e601d853564833525396e565
---
 gnu/packages/samba.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 2d1ea5959d..ae3966664f 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -451,6 +451,14 @@ many event types, including timers, signals, and the 
classic file descriptor eve
        #:tests? (assoc-ref %build-inputs "lmdb")
        #: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
            ;; ldb use a custom configuration script that runs waf.
            (lambda* (#:key outputs #:allow-other-keys)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]