From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5BEF1582EF for ; Tue, 18 Feb 2025 03:39:20 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id BF701343127 for ; Tue, 18 Feb 2025 03:39:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C20ED110470; Tue, 18 Feb 2025 03:39:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B7BA11103A8 for ; Tue, 18 Feb 2025 03:39:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68975343141 for ; Tue, 18 Feb 2025 03:39:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 059D52734 for ; Tue, 18 Feb 2025 03:39:18 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1739849932.a8d1764ceaf0924e76c503efe760c391d0e469da.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-nds/openldap/openldap-2.5.19.ebuild net-nds/openldap/openldap-2.6.8-r1.ebuild net-nds/openldap/openldap-2.6.9.ebuild X-VCS-Directories: net-nds/openldap/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a8d1764ceaf0924e76c503efe760c391d0e469da X-VCS-Branch: master Date: Tue, 18 Feb 2025 03:39:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c7556ace-bc45-4ac4-b70e-a4707f936030 X-Archives-Hash: d5edc2a694fe129b877b4af30bb6bfae commit: a8d1764ceaf0924e76c503efe760c391d0e469da Author: Sam James gentoo org> AuthorDate: Tue Feb 18 03:31:08 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Feb 18 03:38:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d1764c net-nds/openldap: drop modern C hacks * Drop -Wno-error= for 2.5.x. If 2.5.x is actually broken, we need to fix it properly. But AFAIK everything is fixed there anyway. * Drop -Wno-error= comments from 2.6.x. Bug: https://bugs.gentoo.org/871288 Bug: https://bugs.gentoo.org/920380 Signed-off-by: Sam James gentoo.org> net-nds/openldap/openldap-2.5.19.ebuild | 11 ----------- net-nds/openldap/openldap-2.6.8-r1.ebuild | 4 ---- net-nds/openldap/openldap-2.6.9.ebuild | 6 +----- 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/net-nds/openldap/openldap-2.5.19.ebuild b/net-nds/openldap/openldap-2.5.19.ebuild index 8d522c18a18b..7bc26053d235 100644 --- a/net-nds/openldap/openldap-2.5.19.ebuild +++ b/net-nds/openldap/openldap-2.5.19.ebuild @@ -426,17 +426,6 @@ multilib_src_configure() { --without-fetch ) - # The configure scripts make some assumptions that aren't valid in newer GCC. - # https://bugs.gentoo.org/920380 - append-flags $(test-flags-CC -Wno-error=implicit-int) - # conftest.c:113:16: error: passing argument 1 of 'pthread_detach' makes - # integer from pointer without a cast [-Wint-conversion] - append-flags $(test-flags-CC -Wno-error=int-conversion) - # error: passing argument 3 of ‘ldap_bv2rdn’ from incompatible pointer type - # [-Wincompatible-pointer-types] - # expected ‘char **’ but argument is of type ‘const char **’ - #append-flags $(test-flags-CC -Wno-error=incompatible-pointer-types) - if use experimental ; then # connectionless ldap per bug #342439 # connectionless is a unsupported feature according to Howard Chu diff --git a/net-nds/openldap/openldap-2.6.8-r1.ebuild b/net-nds/openldap/openldap-2.6.8-r1.ebuild index 2c090a4926af..5013213b7f8a 100644 --- a/net-nds/openldap/openldap-2.6.8-r1.ebuild +++ b/net-nds/openldap/openldap-2.6.8-r1.ebuild @@ -423,10 +423,6 @@ multilib_src_configure() { $(multilib_native_use_with sasl cyrus-sasl) ) - # error: passing argument 3 of ‘ldap_bv2rdn’ from incompatible pointer type [-Wincompatible-pointer-types] - # expected ‘char **’ but argument is of type ‘const char **’ - #append-flags $(test-flags-CC -Wno-error=incompatible-pointer-types) - if use experimental ; then # connectionless ldap per bug #342439 # connectionless is a unsupported feature according to Howard Chu diff --git a/net-nds/openldap/openldap-2.6.9.ebuild b/net-nds/openldap/openldap-2.6.9.ebuild index 8eb8c5d976fe..c5a5d0bb29b3 100644 --- a/net-nds/openldap/openldap-2.6.9.ebuild +++ b/net-nds/openldap/openldap-2.6.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -432,10 +432,6 @@ multilib_src_configure() { $(multilib_native_use_with sasl cyrus-sasl) ) - # error: passing argument 3 of ‘ldap_bv2rdn’ from incompatible pointer type [-Wincompatible-pointer-types] - # expected ‘char **’ but argument is of type ‘const char **’ - #append-flags $(test-flags-CC -Wno-error=incompatible-pointer-types) - if use experimental ; then # connectionless ldap per bug #342439 # connectionless is a unsupported feature according to Howard Chu