commit:     0a3c5d59bfc23f4c9cd36a5556494358fff5324c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 10 13:33:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 10 13:33:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a3c5d59

media-libs/freetype: drop -fno-strict-aliasing

There's a bit of history here..

commit a76092845e4a84dbab246a3c04986df38f0779bd
Author: Ryan Hill <dirtyepic <AT> gentoo.org>
Date:   Fri Aug 24 22:42:01 2007 +0000

    Re-add -fno-strict-aliasing workaround for gnustep as reported by truedfx.
    (Portage version: 2.1.3.5)

commit 0956b5c0abd46fa9229d6f2bc0d9c0396e1a7993
Author: Ryan Hill <dirtyepic <AT> gentoo.org>
Date:   Sun Jul 15 21:00:19 2007 +0000

    Remove -fno-strict-aliasing as it is no longer necessary. (Red Hat bug 
#118021)
    (Portage version: 2.1.3_rc8)

commit deb3784702abc3950db5299a2e7753a7e6a4bace
Author: Marinus Schraal <foser <AT> gentoo.org>
Date:   Tue Jul 20 00:31:05 2004 +0000

    new release 'n cleanup

Fedora dropped it in:
"""
* Wed Jan 17 2007 Behdad Esfahbod <besfahbo <AT> redhat.com> 2.3.0-1
- Update to 2.3.0.
- Drop upstream patches.
- Drop -fno-strict-aliasing, it should just work.
- Fix typo in ftconfig.h generation.
 """

Given several people involved upstream (linked bug, above Fedora change)
say it's fine, and it's been 15 years, I think we're fine.

Bug: https://bugzilla.redhat.com/show_bug.cgi?id=118021
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/freetype/freetype-2.13.0.ebuild | 5 ++---
 media-libs/freetype/freetype-2.13.2.ebuild | 6 ++----
 media-libs/freetype/freetype-2.13.3.ebuild | 6 ++----
 media-libs/freetype/freetype-9999.ebuild   | 6 ++----
 4 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/media-libs/freetype/freetype-2.13.0.ebuild 
b/media-libs/freetype/freetype-2.13.0.ebuild
index bb9623d692a7..ad48f0268cee 100644
--- a/media-libs/freetype/freetype-2.13.0.ebuild
+++ b/media-libs/freetype/freetype-2.13.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools flag-o-matic libtool multilib-minimal toolchain-funcs
+inherit autotools libtool multilib-minimal toolchain-funcs
 
 DESCRIPTION="High-quality and portable font engine"
 HOMEPAGE="https://www.freetype.org/";
@@ -185,7 +185,6 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-       append-flags -fno-strict-aliasing
        type -P gmake &> /dev/null && export GNUMAKE=gmake
 
        local myeconfargs=(

diff --git a/media-libs/freetype/freetype-2.13.2.ebuild 
b/media-libs/freetype/freetype-2.13.2.ebuild
index a644a8588720..685d2df65474 100644
--- a/media-libs/freetype/freetype-2.13.2.ebuild
+++ b/media-libs/freetype/freetype-2.13.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools flag-o-matic libtool multilib-minimal toolchain-funcs
+inherit autotools libtool multilib-minimal toolchain-funcs
 
 DESCRIPTION="High-quality and portable font engine"
 HOMEPAGE="https://www.freetype.org/";
@@ -179,8 +179,6 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-       append-flags -fno-strict-aliasing
-
        export GNUMAKE=gmake
 
        local myeconfargs=(

diff --git a/media-libs/freetype/freetype-2.13.3.ebuild 
b/media-libs/freetype/freetype-2.13.3.ebuild
index a644a8588720..685d2df65474 100644
--- a/media-libs/freetype/freetype-2.13.3.ebuild
+++ b/media-libs/freetype/freetype-2.13.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools flag-o-matic libtool multilib-minimal toolchain-funcs
+inherit autotools libtool multilib-minimal toolchain-funcs
 
 DESCRIPTION="High-quality and portable font engine"
 HOMEPAGE="https://www.freetype.org/";
@@ -179,8 +179,6 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-       append-flags -fno-strict-aliasing
-
        export GNUMAKE=gmake
 
        local myeconfargs=(

diff --git a/media-libs/freetype/freetype-9999.ebuild 
b/media-libs/freetype/freetype-9999.ebuild
index e45b12ff7c84..527b1807eefa 100644
--- a/media-libs/freetype/freetype-9999.ebuild
+++ b/media-libs/freetype/freetype-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools flag-o-matic libtool multilib-minimal toolchain-funcs
+inherit autotools libtool multilib-minimal toolchain-funcs
 
 DESCRIPTION="High-quality and portable font engine"
 HOMEPAGE="https://www.freetype.org/";
@@ -179,8 +179,6 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-       append-flags -fno-strict-aliasing
-
        export GNUMAKE=gmake
 
        local myeconfargs=(

Reply via email to