commit:     422109dcf6f391736093a4346ec6b7e41be497ac
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  9 10:41:28 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 10:41:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=422109dc

x11-libs/fox: consistently pass -fno-strict-aliasing

It's not fixed in 1.7.84, they've just papered over it, see
fe5777553eb7e9cf64c0526ba194b831cb455f38 where I quote the upstream site.

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

 x11-libs/fox/fox-1.6.57-r3.ebuild | 5 +----
 x11-libs/fox/fox-1.7.67-r1.ebuild | 5 +----
 x11-libs/fox/fox-1.7.67-r2.ebuild | 5 +----
 x11-libs/fox/fox-1.7.84.ebuild    | 3 +++
 4 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/x11-libs/fox/fox-1.6.57-r3.ebuild 
b/x11-libs/fox/fox-1.6.57-r3.ebuild
index ef39c33ba8c9..dd1f71e19dfd 100644
--- a/x11-libs/fox/fox-1.6.57-r3.ebuild
+++ b/x11-libs/fox/fox-1.6.57-r3.ebuild
@@ -51,10 +51,7 @@ src_prepare() {
 }
 
 src_configure() {
-       # -Werror=strict-aliasing
-       # https://bugs.gentoo.org/864412
-       # Fixed in 1.7.84
-       #
+       # -Werror=strict-aliasing (bug #864412, bug #940648)
        # Do not trust it for LTO either.
        append-flags -fno-strict-aliasing
        filter-lto

diff --git a/x11-libs/fox/fox-1.7.67-r1.ebuild 
b/x11-libs/fox/fox-1.7.67-r1.ebuild
index 00cdfbd54909..3f72ee2203ba 100644
--- a/x11-libs/fox/fox-1.7.67-r1.ebuild
+++ b/x11-libs/fox/fox-1.7.67-r1.ebuild
@@ -57,10 +57,7 @@ src_prepare() {
 }
 
 src_configure() {
-       # -Werror=strict-aliasing
-       # https://bugs.gentoo.org/864412
-       # Fixed in 1.7.84
-       #
+       # -Werror=strict-aliasing (bug #864412, bug #940648)
        # Do not trust it for LTO either.
        append-flags -fno-strict-aliasing
        filter-lto

diff --git a/x11-libs/fox/fox-1.7.67-r2.ebuild 
b/x11-libs/fox/fox-1.7.67-r2.ebuild
index 7b1a6adf3eb3..bdb35e3c427f 100644
--- a/x11-libs/fox/fox-1.7.67-r2.ebuild
+++ b/x11-libs/fox/fox-1.7.67-r2.ebuild
@@ -65,10 +65,7 @@ src_prepare() {
 }
 
 src_configure() {
-       # -Werror=strict-aliasing
-       # https://bugs.gentoo.org/864412
-       # Fixed in 1.7.84
-       #
+       # -Werror=strict-aliasing (bug #864412, bug #940648)
        # Do not trust it for LTO either.
        append-flags -fno-strict-aliasing
        filter-lto

diff --git a/x11-libs/fox/fox-1.7.84.ebuild b/x11-libs/fox/fox-1.7.84.ebuild
index 9ab1aee4523a..ac39a16ca295 100644
--- a/x11-libs/fox/fox-1.7.84.ebuild
+++ b/x11-libs/fox/fox-1.7.84.ebuild
@@ -65,6 +65,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=strict-aliasing (bug #864412, bug #940648)
+       # Do not trust it for LTO either.
+       append-flags -fno-strict-aliasing
        filter-lto
 
        use debug || append-cppflags -DNDEBUG

Reply via email to