public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/desmume/
Date: Mon, 21 Nov 2022 04:59:37 +0000 (UTC)	[thread overview]
Message-ID: <1669006531.1cdd5937af974cd53b9ee5b138031a310d5ab265.ionen@gentoo> (raw)

commit:     1cdd5937af974cd53b9ee5b138031a310d5ab265
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 01:52:57 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 04:55:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cdd5937

games-emulation/desmume: fix w/ clang16, filter-lto + -fno-strict

Looking a bit fragile for LTO overall, so haven't looked
into doing proper fixes.

Also GPL-2 -> GPL-2+

Closes: https://bugs.gentoo.org/858629
Closes: https://bugs.gentoo.org/874996
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../desmume/{desmume-0.9.13.ebuild => desmume-0.9.13-r1.ebuild}  | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/games-emulation/desmume/desmume-0.9.13.ebuild b/games-emulation/desmume/desmume-0.9.13-r1.ebuild
similarity index 87%
rename from games-emulation/desmume/desmume-0.9.13.ebuild
rename to games-emulation/desmume/desmume-0.9.13-r1.ebuild
index f4edfb4b5a3e..105f0464ab1c 100644
--- a/games-emulation/desmume/desmume-0.9.13.ebuild
+++ b/games-emulation/desmume/desmume-0.9.13-r1.ebuild
@@ -3,13 +3,13 @@
 
 EAPI=8
 
-inherit meson xdg
+inherit flag-o-matic meson xdg
 
 DESCRIPTION="Nintendo DS emulator"
 HOMEPAGE="https://desmume.org/"
 SRC_URI="https://github.com/TASEmulators/desmume/releases/download/release_$(ver_rs 1- _)/${P}.tar.xz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="gdb +gui openal wifi"
@@ -42,8 +42,11 @@ PATCHES=(
 DOCS=( ${PN}/{AUTHORS,ChangeLog,README,README.LIN,doc/.} )
 
 src_configure() {
-	local EMESON_SOURCE=${S}/${PN}/src/frontend/posix
+	append-flags -fno-strict-aliasing #858629
+	append-cppflags -D_XOPEN_SOURCE=500 #874996
+	filter-lto # odr issues
 
+	local EMESON_SOURCE=${S}/${PN}/src/frontend/posix
 	local emesonargs=(
 		$(meson_use gdb gdb-stub)
 		$(meson_use gui frontend-gtk)


             reply	other threads:[~2022-11-21  4:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-21  4:59 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-03  5:33 [gentoo-commits] repo/gentoo:master commit in: games-emulation/desmume/ Ionen Wolkens
2022-06-22  0:54 Ionen Wolkens
2022-01-13  8:06 Ionen Wolkens
2021-06-08  7:10 Ionen Wolkens
2021-06-02  2:38 Ionen Wolkens
2020-02-09 10:38 Hanno Böck
2019-11-11  9:40 Hanno Böck
2019-11-02 15:00 Hanno Boeck
2018-04-04 21:44 Andreas Sturmlechner
2017-10-31 18:49 Andreas Hüttel
2017-10-27 12:54 Thomas Deutschmann
2015-11-29  8:42 Michael Sterrett

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=1669006531.1cdd5937af974cd53b9ee5b138031a310d5ab265.ionen@gentoo \
    --to=ionen@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