public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
Date: Thu, 14 Aug 2025 05:09:14 +0000 (UTC)	[thread overview]
Message-ID: <1755147719.6579c1e3f27bdcf07cc200f0dc4011a8559eaff9.eschwartz@gentoo> (raw)

commit:     6579c1e3f27bdcf07cc200f0dc4011a8559eaff9
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 00:41:12 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug 14 05:01:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6579c1e3

games-emulation/melonds: mark as strict-aliasing unsafe, LTO-unsafe

Closes: https://bugs.gentoo.org/959632
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 games-emulation/melonds/melonds-1.0.ebuild    | 8 +++++++-
 games-emulation/melonds/melonds-1.0_rc.ebuild | 8 +++++++-
 games-emulation/melonds/melonds-9999.ebuild   | 8 +++++++-
 3 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/games-emulation/melonds/melonds-1.0.ebuild b/games-emulation/melonds/melonds-1.0.ebuild
index 70eb307c79f6..38d25d364487 100644
--- a/games-emulation/melonds/melonds-1.0.ebuild
+++ b/games-emulation/melonds/melonds-1.0.ebuild
@@ -7,7 +7,7 @@ REAL_PN="melonDS"
 REAL_PV="${PV/_rc/rc}"
 REAL_P="${REAL_PN}-${REAL_PV}"
 
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="http://melonds.kuribo64.net
@@ -65,6 +65,12 @@ Place them in ~/.config/melonDS
 Those files can be extracted from devices or found somewhere on the Internet ;-)"
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/959632
+	# https://github.com/melonDS-emu/melonDS/issues/2349
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	local -a mycmakeargs=(
 		-DUSE_CCACHE="OFF"
 

diff --git a/games-emulation/melonds/melonds-1.0_rc.ebuild b/games-emulation/melonds/melonds-1.0_rc.ebuild
index 582290394b82..ef8370e74f5b 100644
--- a/games-emulation/melonds/melonds-1.0_rc.ebuild
+++ b/games-emulation/melonds/melonds-1.0_rc.ebuild
@@ -7,7 +7,7 @@ REAL_PN="melonDS"
 REAL_PV="${PV/_rc/rc}"
 REAL_P="${REAL_PN}-${REAL_PV}"
 
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="http://melonds.kuribo64.net
@@ -65,6 +65,12 @@ Place them in ~/.config/melonDS
 Those files can be extracted from devices or found somewhere on the Internet ;-)"
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/959632
+	# https://github.com/melonDS-emu/melonDS/issues/2349
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	local -a mycmakeargs=(
 		-DUSE_CCACHE="OFF"
 

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 70eb307c79f6..38d25d364487 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -7,7 +7,7 @@ REAL_PN="melonDS"
 REAL_PV="${PV/_rc/rc}"
 REAL_P="${REAL_PN}-${REAL_PV}"
 
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="http://melonds.kuribo64.net
@@ -65,6 +65,12 @@ Place them in ~/.config/melonDS
 Those files can be extracted from devices or found somewhere on the Internet ;-)"
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/959632
+	# https://github.com/melonDS-emu/melonDS/issues/2349
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	local -a mycmakeargs=(
 		-DUSE_CCACHE="OFF"
 


             reply	other threads:[~2025-08-14  5:09 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14  5:09 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-03 17:32 [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/ Arthur Zamarin
2025-08-14  5:09 Eli Schwartz
2025-08-14  5:09 Eli Schwartz
2025-07-09 21:48 Maciej Barć
2025-03-07 19:34 Maciej Barć
2025-02-19 11:05 Sam James
2025-02-11 12:23 Maciej Barć
2025-02-10 15:42 Maciej Barć
2025-02-10 15:42 Maciej Barć
2025-01-12 21:54 Maciej Barć
2025-01-05 22:51 Andreas Sturmlechner
2025-01-03 22:40 Sam James
2024-11-17 16:26 Maciej Barć
2024-11-17 16:26 Maciej Barć
2024-11-04  0:19 Maciej Barć
2024-09-28  9:38 Sam James
2024-08-17 13:27 Maciej Barć
2024-08-17 13:27 Maciej Barć
2024-04-11  1:38 Maciej Barć
2024-02-03 19:09 Sam James
2024-01-01 20:29 Maciej Barć
2024-01-01 20:29 Maciej Barć
2023-05-05 12:03 Maciej Barć
2023-05-05 12:03 Maciej Barć
2023-05-03 11:16 Sam James
2023-04-05  2:41 Maciej Barć
2023-04-05  2:41 Maciej Barć
2022-11-06 19:31 Maciej Barć
2022-11-06 13:54 Maciej Barć
2022-11-06  7:34 Maciej Barć
2022-11-04  1:45 Maciej Barć
2022-11-04  1:45 Maciej Barć
2022-07-24 16:24 Sam James
2022-07-23 17:51 Maciej Barć
2022-05-22  1:42 Maciej Barć
2022-03-09 20:39 Maciej Barć
2022-03-09 20:39 Maciej Barć
2022-03-08 13:59 Maciej Barć
2021-11-26 14:31 Maciej Barć
2021-11-26 10:01 Maciej Barć

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=1755147719.6579c1e3f27bdcf07cc200f0dc4011a8559eaff9.eschwartz@gentoo \
    --to=eschwartz@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