From: Rosen Penev Date: Fri, 17 May 2024 04:24:53 +0000 (-0700) Subject: openldap: fix compilation with GCC14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=13841d15af7788c195a3f244b1321f1cd66ddd95;p=feed%2Fpackages.git openldap: fix compilation with GCC14 Wrong pointer type. Signed-off-by: Rosen Penev --- diff --git a/libs/openldap/Makefile b/libs/openldap/Makefile index 84d90b980b..2bc91098ef 100644 --- a/libs/openldap/Makefile +++ b/libs/openldap/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openldap PKG_VERSION:=2.6.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=https://mirror.eu.oneandone.net/software/openldap/openldap-release/ \ diff --git a/libs/openldap/patches/030-gcc14.patch b/libs/openldap/patches/030-gcc14.patch new file mode 100644 index 0000000000..cfb123d9a1 --- /dev/null +++ b/libs/openldap/patches/030-gcc14.patch @@ -0,0 +1,11 @@ +--- a/servers/slapd/config.c ++++ b/servers/slapd/config.c +@@ -151,7 +151,7 @@ int config_check_vals(ConfigTable *Conf, + int rc, arg_user, arg_type, arg_syn, iarg; + unsigned uiarg; + long larg; +- size_t ularg; ++ unsigned long ularg; + ber_len_t barg; + + if(Conf->arg_type == ARG_IGNORED) {