From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58E00158041 for ; Wed, 20 Mar 2024 06:26:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC7D5E29B5; Wed, 20 Mar 2024 06:26:48 +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 pigeon.gentoo.org (Postfix) with ESMTPS id B2B08E29B5 for ; Wed, 20 Mar 2024 06:26:48 +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 DF1D034067D for ; Wed, 20 Mar 2024 06:26:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 210281591 for ; Wed, 20 Mar 2024 06:26:45 +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: <1710915420.24a101998bd9f0e2d5565100971aa0a7cc0b97ec.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcptrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/tcptrace/tcptrace-6.6.7_p6-r1.ebuild X-VCS-Directories: net-analyzer/tcptrace/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 24a101998bd9f0e2d5565100971aa0a7cc0b97ec X-VCS-Branch: master Date: Wed, 20 Mar 2024 06:26:45 +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: 40f47867-8fd1-4ad9-9f6b-3a90f975f0f4 X-Archives-Hash: 0b46faec6ae89788b30d6aa91e2ffd1b commit: 24a101998bd9f0e2d5565100971aa0a7cc0b97ec Author: Eli Schwartz gmail com> AuthorDate: Wed Mar 20 05:09:11 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 20 06:17:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a10199 net-analyzer/tcptrace: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/861260 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-analyzer/tcptrace/tcptrace-6.6.7_p6-r1.ebuild | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/net-analyzer/tcptrace/tcptrace-6.6.7_p6-r1.ebuild b/net-analyzer/tcptrace/tcptrace-6.6.7_p6-r1.ebuild index 6757aed273ce..5453f2914699 100644 --- a/net-analyzer/tcptrace/tcptrace-6.6.7_p6-r1.ebuild +++ b/net-analyzer/tcptrace/tcptrace-6.6.7_p6-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="A Tool for analyzing network packet dumps" HOMEPAGE="http://www.tcptrace.org/" @@ -38,6 +38,19 @@ src_prepare() { eautoreconf } +src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861260 + # + # Upstream site no longer exists. + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + + default +} + src_compile() { emake CCOPT="${CFLAGS}" }