commit:     ee0634b18dff1c5bb1d064ae72830bfadb7a1ab8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  9 10:45:15 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 10:46:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee0634b1

x11-libs/fox: don't use --enable-release

It passes -fstrict-aliasing amongst other things when the codebase
isn't alias-safe.

Bug: 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 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/x11-libs/fox/fox-1.6.57-r3.ebuild 
b/x11-libs/fox/fox-1.6.57-r3.ebuild
index dd1f71e19dfd..ac28fe40a67c 100644
--- a/x11-libs/fox/fox-1.6.57-r3.ebuild
+++ b/x11-libs/fox/fox-1.6.57-r3.ebuild
@@ -56,10 +56,13 @@ src_configure() {
        append-flags -fno-strict-aliasing
        filter-lto
 
+       use debug || append-cppflags -DNDEBUG
+
+       # Not using --enable-release because of the options it sets like no SSP
        econf \
                --disable-static \
-               --enable-$(usex debug debug release) \
                $(use_enable bzip2 bz2lib) \
+               $(use_enable debug) \
                $(use_enable jpeg) \
                $(use_with opengl) \
                $(use_enable png) \

diff --git a/x11-libs/fox/fox-1.7.67-r1.ebuild 
b/x11-libs/fox/fox-1.7.67-r1.ebuild
index 3f72ee2203ba..1cca9329ea1f 100644
--- a/x11-libs/fox/fox-1.7.67-r1.ebuild
+++ b/x11-libs/fox/fox-1.7.67-r1.ebuild
@@ -62,10 +62,13 @@ src_configure() {
        append-flags -fno-strict-aliasing
        filter-lto
 
+       use debug || append-cppflags -DNDEBUG
+
+       # Not using --enable-release because of the options it sets like no SSP
        econf \
                --disable-static \
-               --enable-$(usex debug debug release) \
                $(use_enable bzip2 bz2lib) \
+               $(use_enable debug) \
                $(use_enable jpeg) \
                $(use_with opengl) \
                $(use_enable png) \

diff --git a/x11-libs/fox/fox-1.7.67-r2.ebuild 
b/x11-libs/fox/fox-1.7.67-r2.ebuild
index bdb35e3c427f..4a551ea3f2b8 100644
--- a/x11-libs/fox/fox-1.7.67-r2.ebuild
+++ b/x11-libs/fox/fox-1.7.67-r2.ebuild
@@ -70,10 +70,13 @@ src_configure() {
        append-flags -fno-strict-aliasing
        filter-lto
 
+       use debug || append-cppflags -DNDEBUG
+
+       # Not using --enable-release because of the options it sets like no SSP
        econf \
                --disable-static \
-               --enable-$(usex debug debug release) \
                $(use_enable bzip2 bz2lib) \
+               $(use_enable debug) \
                $(use_enable jpeg) \
                $(use_with opengl) \
                $(use_enable png) \

Reply via email to