guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 6640b0d8cf821f0e850cb2e13c60cc458e4f70d3
Author: Zheng Junjie <[email protected]>
AuthorDate: Mon Nov 2 22:49:32 2026 +0800

    gnu: samba: Fix build.
    
    * gnu/packages/samba.scm (samba/pinned)[arguments]<#:phases>: Add
    fix-ncurses-link phase.
    [propagated-inputs]: Remove ldb.
---
 gnu/packages/samba.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index c950258bb37..409d69a0ef3 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -321,6 +321,12 @@ following features:
        #:make-flags #~(list "TEST_OPTIONS=--quick") ;some tests are very long
        #:phases
        #~(modify-phases %standard-phases
+           (add-after 'unpack 'fix-ncurses-link
+             (lambda _
+               ;; Fix: regedit.c.36.o: undefined reference to symbol 'cbreak'
+               (substitute* "source3/utils/wscript_build"
+                 (("ncurses")
+                  "ncurses tinfo"))))
            (add-before 'configure 'setup-docbook-stylesheets
              (lambda* (#:key inputs #:allow-other-keys)
                ;; Append Samba's own DTDs to XML_CATALOG_FILES
@@ -389,7 +395,7 @@ following features:
             tdb))
      (propagated-inputs
       ;; In Requires or Requires.private of pkg-config files.
-      (list ldb talloc tevent))
+      (list talloc tevent))
      (native-inputs
       (append
        (list perl-parse-yapp

Reply via email to