From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snort/
Date: Wed, 20 Mar 2024 06:26:44 +0000 (UTC) [thread overview]
Message-ID: <1710915417.eb0e5ecae371f47a765f537ba0095faed1b45013.sam@gentoo> (raw)
commit: eb0e5ecae371f47a765f537ba0095faed1b45013
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 20 00:27:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 20 06:16:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0e5eca
net-analyzer/snort: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/861239
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/snort/snort-2.9.17-r1.ebuild | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/snort/snort-2.9.17-r1.ebuild b/net-analyzer/snort/snort-2.9.17-r1.ebuild
index ba2c56393269..25092e422c53 100644
--- a/net-analyzer/snort/snort-2.9.17-r1.ebuild
+++ b/net-analyzer/snort/snort-2.9.17-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
LUA_COMPAT=( luajit )
-inherit autotools lua-single systemd tmpfiles
+inherit autotools flag-o-matic lua-single systemd tmpfiles
DESCRIPTION="The de facto standard for intrusion detection/prevention"
HOMEPAGE="https://www.snort.org"
@@ -60,6 +60,15 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/861239
+ #
+ # Upstream does bug mail. Sent an email.
+ #
+ # Do not trust with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
econf \
$(use_enable gre) \
$(use_enable control-socket) \
next reply other threads:[~2024-03-20 6:26 UTC|newest]
Thread overview: 23+ 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-03-20 6:26 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snort/ Sam James
2024-03-20 6:26 Sam James
2024-03-20 6:26 Sam James
2023-05-01 13:36 Sam James
2021-04-09 2:05 John Helmert III
2021-04-09 2:05 John Helmert III
2021-04-03 19:53 Sam James
2021-03-16 21:51 Sam James
2021-01-04 20:14 Andreas K. Hüttel
2020-12-27 5:40 Sam James
2020-12-27 5:05 Sam James
2020-04-14 8:53 Jeroen Roovers
2020-01-09 14:08 Jeroen Roovers
2019-12-15 11:55 Jeroen Roovers
2019-01-19 17:10 Sergei Trofimovich
2018-02-11 11:02 Michał Górny
2017-11-01 11:48 Andreas Hüttel
2017-10-29 14:49 Jonas Stein
2016-10-14 13:54 Richard Farina
2016-06-28 9:45 Patrick Lauer
2016-03-31 8:26 Patrick Lauer
2015-12-21 12:42 Patrick Lauer
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=1710915417.eb0e5ecae371f47a765f537ba0095faed1b45013.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