From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/files/, net-nds/openldap/
Date: Tue, 18 Feb 2025 04:05:30 +0000 (UTC) [thread overview]
Message-ID: <1739851506.4af031a5382661f3b29dcad17dbfba32fa82ecbd.sam@gentoo> (raw)
commit: 4af031a5382661f3b29dcad17dbfba32fa82ecbd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 04:04:02 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 04:05:06 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4af031a5
net-nds/openldap: drop another obsolete patch
This is in 2.5.18 and 2.6.8.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/openldap-2.6.x-slapd-pointer-types.patch | 71 ----------------------
net-nds/openldap/openldap-2.5.19.ebuild | 1 -
2 files changed, 72 deletions(-)
diff --git a/net-nds/openldap/files/openldap-2.6.x-slapd-pointer-types.patch b/net-nds/openldap/files/openldap-2.6.x-slapd-pointer-types.patch
deleted file mode 100644
index 9f79048645d6..000000000000
--- a/net-nds/openldap/files/openldap-2.6.x-slapd-pointer-types.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-# https://git.openldap.org/openldap/openldap/-/commit/fb9e6a81bbee880549e7ec18f0a74ddddbd2d1ab.patch
-From fb9e6a81bbee880549e7ec18f0a74ddddbd2d1ab Mon Sep 17 00:00:00 2001
-From: Stephen Gallagher <sgallagh@redhat.com>
-Date: Tue, 6 Feb 2024 21:38:24 -0500
-Subject: [PATCH] ITS#10171 - Explicitly cast private values
-
-Fixes issues with -Werror=incompatible-pointer-types
-
-Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
----
- servers/slapd/config.c | 2 +-
- servers/slapd/overlays/constraint.c | 2 +-
- servers/slapd/overlays/dyngroup.c | 2 +-
- servers/slapd/overlays/valsort.c | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/servers/slapd/config.c b/servers/slapd/config.c
-index 80333f359c..987c862d91 100644
---- a/servers/slapd/config.c
-+++ b/servers/slapd/config.c
-@@ -151,7 +151,7 @@ int config_check_vals(ConfigTable *Conf, ConfigArgs *c, int check_only ) {
- 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) {
-diff --git a/servers/slapd/overlays/constraint.c b/servers/slapd/overlays/constraint.c
-index f939b37762..0d6156af4d 100644
---- a/servers/slapd/overlays/constraint.c
-+++ b/servers/slapd/overlays/constraint.c
-@@ -557,7 +557,7 @@ done:;
- a2->restrict_filter = ap.restrict_filter;
- a2->restrict_val = ap.restrict_val;
-
-- for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next )
-+ for ( app = (constraint **)&on->on_bi.bi_private; *app; app = &(*app)->ap_next )
- /* Get to the end */ ;
-
- a2->ap_next = *app;
-diff --git a/servers/slapd/overlays/dyngroup.c b/servers/slapd/overlays/dyngroup.c
-index 5d890d6650..e0e70af2d9 100644
---- a/servers/slapd/overlays/dyngroup.c
-+++ b/servers/slapd/overlays/dyngroup.c
-@@ -111,7 +111,7 @@ static int dgroup_cf( ConfigArgs *c )
- */
- a2 = ch_malloc( sizeof(adpair) );
-
-- for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next )
-+ for ( app = (adpair **)&on->on_bi.bi_private; *app; app = &(*app)->ap_next )
- /* Get to the end */ ;
-
- a2->ap_mem = ap.ap_mem;
-diff --git a/servers/slapd/overlays/valsort.c b/servers/slapd/overlays/valsort.c
-index 3d998e2fcb..e251500d0b 100644
---- a/servers/slapd/overlays/valsort.c
-+++ b/servers/slapd/overlays/valsort.c
-@@ -201,7 +201,7 @@ valsort_cf_func(ConfigArgs *c) {
- return(1);
- }
-
-- for ( vip = &on->on_bi.bi_private; *vip; vip = &(*vip)->vi_next )
-+ for ( vip = (valsort_info **)&on->on_bi.bi_private; *vip; vip = &(*vip)->vi_next )
- /* Get to the end */ ;
-
- vi = ch_malloc( sizeof(valsort_info) );
---
-GitLab
-
diff --git a/net-nds/openldap/openldap-2.5.19.ebuild b/net-nds/openldap/openldap-2.5.19.ebuild
index 350620e9508e..8a6b89fc30b7 100644
--- a/net-nds/openldap/openldap-2.5.19.ebuild
+++ b/net-nds/openldap/openldap-2.5.19.ebuild
@@ -149,7 +149,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.6.1-cloak.patch
"${FILESDIR}"/${PN}-2.6.1-flags.patch
"${FILESDIR}"/${PN}-2.5.19-gcc14-SDWORD-vs-SQLINTEGER.patch
- #"${FILESDIR}"/${PN}-2.6.x-slapd-pointer-types.patch # needs backport
)
openldap_filecount() {
next reply other threads:[~2025-02-18 4:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-18 4:05 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-18 3:39 [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/files/, net-nds/openldap/ Sam James
2024-12-28 18:03 Sam James
2024-08-25 20:00 Robin H. Johnson
2024-08-25 0:57 Robin H. Johnson
2024-02-09 14:57 Joonas Niilola
2023-05-30 21:56 Sam James
2023-02-10 0:29 Sam James
2023-01-19 18:02 Sam James
2022-11-24 11:27 Sam James
2022-03-20 21:04 Sam James
2022-03-19 22:39 Sam James
2021-03-25 13:02 Sam James
2017-06-29 20:50 Patrick McLean
2017-06-23 16:14 Matt Thode
2017-01-29 11:54 Aaron Bauman
2017-01-29 7:05 Aaron Bauman
2015-09-03 19:35 Matt Thode
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1739851506.4af031a5382661f3b29dcad17dbfba32fa82ecbd.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox