guix-commits
[Top][All Lists]
Advanced

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

42/45: gnu: talloc: Remove reference to crypt.


From: guix-commits
Subject: 42/45: gnu: talloc: 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 d1fe64677388d833fd247bd4bbf76ee0ec529ba7
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Sun Feb 18 12:07:09 2024 +0100

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

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index ce707a8912..bf92b210c3 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -322,6 +322,14 @@ Desktops into Active Directory environments using the 
winbind daemon.")
     (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
            (lambda* (#:key outputs #:allow-other-keys)
              ;; talloc uses a custom configuration script that runs a Python



reply via email to

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