From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/nx/
Date: Sun, 5 May 2024 11:49:01 +0000 (UTC) [thread overview]
Message-ID: <1714909634.6e5275a457f8a91e08ab8ea24a546866fcfad1d6.sam@gentoo> (raw)
commit: 6e5275a457f8a91e08ab8ea24a546866fcfad1d6
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun May 5 05:31:43 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 5 11:47:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e5275a4
net-misc/nx: mark as LTO-unsafe, strict-aliasing unsafe
It's code vendored from xorg, so nothing to fix. xorg already sets this,
so doing it here is just attaining parity anyway.
Closes: https://bugs.gentoo.org/861680
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/nx/nx-3.5.99.26.ebuild | 11 +++++++++--
net-misc/nx/nx-3.5.99.27.ebuild | 11 +++++++++--
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/net-misc/nx/nx-3.5.99.26.ebuild b/net-misc/nx/nx-3.5.99.26.ebuild
index 01e20ce031b4..3a112d2be6bb 100644
--- a/net-misc/nx/nx-3.5.99.26.ebuild
+++ b/net-misc/nx/nx-3.5.99.26.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=7
-inherit autotools toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="https://github.com/ArcticaProject/nx-libs"
@@ -72,6 +72,13 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/861680
+ #
+ # inherited from libX11 vendored code. libX11 passes this flag already.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
# From xorg-x11-6.9.0-r3.ebuild
pushd nx-X11 || die
HOSTCONF="config/cf/host.def"
diff --git a/net-misc/nx/nx-3.5.99.27.ebuild b/net-misc/nx/nx-3.5.99.27.ebuild
index e054f77bb1e5..60a90c7c8d28 100644
--- a/net-misc/nx/nx-3.5.99.27.ebuild
+++ b/net-misc/nx/nx-3.5.99.27.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 toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="https://github.com/ArcticaProject/nx-libs"
@@ -66,6 +66,13 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/861680
+ #
+ # inherited from libX11 vendored code. libX11 passes this flag already.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
# From xorg-x11-6.9.0-r3.ebuild
pushd nx-X11 || die
HOSTCONF="config/cf/host.def"
next reply other threads:[~2024-05-05 11:49 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-05 11:49 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-09 21:47 [gentoo-commits] repo/gentoo:master commit in: net-misc/nx/ Bernard Cafarelli
2025-03-08 14:51 Jakov Smolić
2025-03-08 14:34 Jakov Smolić
2023-06-28 7:37 Sam James
2023-03-31 20:33 Bernard Cafarelli
2023-03-31 20:33 Bernard Cafarelli
2023-03-19 0:16 Bernard Cafarelli
2022-11-05 7:36 Yixun Lan
2022-10-28 7:17 Sam James
2022-10-28 7:17 Sam James
2022-01-03 23:26 David Seifert
2021-10-24 1:09 Sam James
2021-09-23 13:58 Agostino Sarubbo
2021-09-22 6:58 Agostino Sarubbo
2021-02-07 23:23 Bernard Cafarelli
2021-01-20 7:42 Fabian Groffen
2021-01-07 7:59 Bernard Cafarelli
2020-11-08 15:30 Bernard Cafarelli
2020-06-16 20:11 Bernard Cafarelli
2020-05-04 21:23 Bernard Cafarelli
2020-02-02 11:18 Bernard Cafarelli
2019-12-22 14:50 Bernard Cafarelli
2019-05-17 14:37 Bernard Cafarelli
2018-11-29 12:45 Bernard Cafarelli
2018-10-27 19:04 Mikle Kolyada
2018-10-26 0:52 Thomas Deutschmann
2018-04-04 11:25 Lars Wendler
2018-04-04 11:25 Lars Wendler
2018-03-18 20:41 Lars Wendler
2018-03-17 11:08 Bernard Cafarelli
2018-03-12 12:03 Lars Wendler
2018-03-08 10:14 Lars Wendler
2018-03-08 9:53 Bernard Cafarelli
2018-03-06 14:39 Lars Wendler
2018-02-21 18:48 Jason Zaman
2017-11-08 12:58 Bernard Cafarelli
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=1714909634.6e5275a457f8a91e08ab8ea24a546866fcfad1d6.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