public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcptrace/
Date: Wed, 20 Mar 2024 06:26:45 +0000 (UTC)	[thread overview]
Message-ID: <1710915420.24a101998bd9f0e2d5565100971aa0a7cc0b97ec.sam@gentoo> (raw)

commit:     24a101998bd9f0e2d5565100971aa0a7cc0b97ec
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 20 05:09:11 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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}"
 }


             reply	other threads:[~2024-03-20  6:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-20  6:26 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-03 16:22 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcptrace/ Andreas K. Hüttel
2024-10-30 11:24 Andreas K. Hüttel
2024-04-29  7:51 Jakov Smolić
2024-03-20  6:26 Sam James
2023-11-04 13:35 Sam James
2023-11-04 13:35 Sam James
2023-11-04 12:25 Sam James
2022-09-30 23:24 Sam James
2021-03-16 14:48 Sam James
2021-03-16 14:47 Sam James
2021-03-15 21:55 Sam James
2021-03-15 21:53 Sam James
2020-09-30  9:49 Jeroen Roovers
2018-02-08 19:48 Jeroen Roovers
2017-12-28 12:40 Sergei Trofimovich
2017-12-19  8:32 Jason Zaman
2016-07-30 19:28 Jeroen Roovers

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=1710915420.24a101998bd9f0e2d5565100971aa0a7cc0b97ec.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