guix-commits
[Top][All Lists]
Advanced

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

branch core-packages-team updated: gnu: openldap-for-linphone: Fix build


From: guix-commits
Subject: branch core-packages-team updated: gnu: openldap-for-linphone: Fix build with gcc-14.
Date: Thu, 02 Jan 2025 07:39:41 -0500

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
     new 9aa17ba86e gnu: openldap-for-linphone: Fix build with gcc-14.
9aa17ba86e is described below

commit 9aa17ba86eb70a57e85a96cbb7fc4459883fcd64
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Jan 2 13:38:34 2025 +0100

    gnu: openldap-for-linphone: Fix build with gcc-14.
    
    * gnu/packages/openldap.scm (openldap-for-linphone)[arguments]: New field to
    relax gcc-14's strictness.
    
    Change-Id: I9541b579df38d8a6a4461a87275399fd623a1f01
---
 gnu/packages/openldap.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index 93350356ca..2de4570304 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -132,7 +132,15 @@
                (file-name (git-file-name name version))
                (sha256
                 (base32
-                 "1yd3cnngr5z3nymnml8fynspxgdzap7y7glp601nbkdj67wyg0k8")))))))
+                 "1yd3cnngr5z3nymnml8fynspxgdzap7y7glp601nbkdj67wyg0k8"))))
+     (arguments
+      (substitute-keyword-arguments (package-arguments openldap)
+        ((#:configure-flags flags)
+         #~(append
+            (list #$(string-append "CFLAGS=-g -O2"
+                                   " -Wno-error=implicit-int"
+                                   " -Wno-error=int-conversion"))
+            #$flags)))))))
 
 (define-public nss-pam-ldapd
   (package



reply via email to

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