openldap: add v2.6.8; conflict gcc@14: for older (#47024)

This commit is contained in:
Wouter Deconinck 2024-10-16 19:51:37 -05:00 committed by GitHub
parent 62fd5d12c2
commit 5d2c67ec83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,6 +21,7 @@ class Openldap(AutotoolsPackage):
license("OLDAP-2.8")
version("2.6.8", sha256="48969323e94e3be3b03c6a132942dcba7ef8d545f2ad35401709019f696c3c4e")
version("2.6.4", sha256="d51704e50178430c06cf3d8aa174da66badf559747a47d920bb54b2d4aa40991")
version("2.6.0", sha256="b71c580eac573e9aba15d95f33dd4dd08f2ed4f0d7fc09e08ad4be7ed1e41a4f")
version("2.4.49", sha256="e3b117944b4180f23befe87d0dcf47f29de775befbc469dcf4ac3dab3311e56e")
@ -67,6 +68,9 @@ class Openldap(AutotoolsPackage):
depends_on("findutils", type="build")
# see https://github.com/openldap/openldap/blob/OPENLDAP_REL_ENG_2_4_48/libraries/liblunicode/Makefile.in
# Newer C compilers (>= Clang 16 and >= GCC 14) reject some constructs removed in C99
conflicts("%gcc@14:", when="@:2.6.4", msg="Newer C compilers required 2.6.5 or newer")
# Ref: https://www.linuxfromscratch.org/blfs/view/svn/server/openldap.html
@when("+client_only")
def configure_args(self):