janneke pushed a commit to branch core-packages-team
in repository guix.
commit a417ded013422d6391f806ee04ccfafeb533bc4a
Author: Janneke Nieuwenhuizen <[email protected]>
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 | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index 87c5142f49..6d4de8869c 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2021, 2023 Maxim Cournoyer <[email protected]>
;;; Copyright © 2022 Marius Bakke <[email protected]>
;;; Copyright © 2023 Brian Cully <[email protected]>
-;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -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