From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1718419-garchives=archives.gentoo.org@lists.gentoo.org>
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 4B9F71582EF
	for <garchives@archives.gentoo.org>; Sun, 16 Feb 2025 12:37:17 +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 2D3303431BB
	for <garchives@archives.gentoo.org>; Sun, 16 Feb 2025 12:37:17 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 2CF8D1102CD;
	Sun, 16 Feb 2025 12:37:16 +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 20DB01102CD
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Feb 2025 12:37:16 +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 C85C23431BB
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Feb 2025 12:37:15 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 60254170C
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Feb 2025 12:37:14 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1739709367.8b9d48e9a7d17a11d1099a683bf841adfa05eb43.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnids/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-libs/libnids/libnids-1.26-r1.ebuild net-libs/libnids/libnids-1.26-r2.ebuild
X-VCS-Directories: net-libs/libnids/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 8b9d48e9a7d17a11d1099a683bf841adfa05eb43
X-VCS-Branch: master
Date: Sun, 16 Feb 2025 12:37:14 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 80f5140f-7229-4a3b-b52e-756c95ad69d3
X-Archives-Hash: f404684cc31dc9e6fe8309b20c519bf1

commit:     8b9d48e9a7d17a11d1099a683bf841adfa05eb43
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 12:36:07 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 12:36:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9d48e9

net-libs/libnids: build w/ -std=gnu17, filter LTO

* Build w/ -std=gnu17.
* Filter LTO as upstream seems inactive; the SONAME bug hasn't been
  addressed yet either. Not worth spending time on at the moment.

Closes: https://bugs.gentoo.org/946622
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libnids/{libnids-1.26-r1.ebuild => libnids-1.26-r2.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-libs/libnids/libnids-1.26-r1.ebuild b/net-libs/libnids/libnids-1.26-r2.ebuild
similarity index 93%
rename from net-libs/libnids/libnids-1.26-r1.ebuild
rename to net-libs/libnids/libnids-1.26-r2.ebuild
index 5939d88fed6a..cfd3c1d367d3 100644
--- a/net-libs/libnids/libnids-1.26-r1.ebuild
+++ b/net-libs/libnids/libnids-1.26-r2.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=7
@@ -38,7 +38,10 @@ src_prepare() {
 src_configure() {
 	tc-export AR
 
+	# bug #946622
+	append-flags -std=gnu17
 	append-flags -fno-strict-aliasing
+	filter-lto
 
 	econf \
 		--enable-shared \