From c283d28337a7ba40d09addae320ffe3acb12c152 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Thu, 2 Jan 2025 13:38:34 +0100 Subject: [PATCH] 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 93350356ca..7035f65c1f 100644 --- a/gnu/packages/openldap.scm +++ b/gnu/packages/openldap.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2021, 2023 Maxim Cournoyer ;;; Copyright © 2022 Marius Bakke ;;; Copyright © 2023 Brian Cully -;;; Copyright © 2024 Janneke Nieuwenhuizen +;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -132,7 +132,15 @@ (define-public openldap-for-linphone (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