From 13841d15af7788c195a3f244b1321f1cd66ddd95 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 16 May 2024 21:24:53 -0700 Subject: [PATCH] openldap: fix compilation with GCC14 Wrong pointer type. Signed-off-by: Rosen Penev --- libs/openldap/Makefile | 2 +- libs/openldap/patches/030-gcc14.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/openldap/patches/030-gcc14.patch diff --git a/libs/openldap/Makefile b/libs/openldap/Makefile index 84d90b980..2bc91098e 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 000000000..cfb123d9a --- /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) {