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/dosbox/
Date: Tue,  6 Aug 2024 00:20:06 +0000 (UTC)	[thread overview]
Message-ID: <1722903510.bf241a4260954afb732b4600e8ad82e744135833.eschwartz@gentoo> (raw)

commit:     bf241a4260954afb732b4600e8ad82e744135833
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 04:45:07 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug  6 00:18:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf241a42

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

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

 games-emulation/dosbox/dosbox-0.75_pre4302.ebuild | 8 ++++++++
 games-emulation/dosbox/dosbox-9999.ebuild         | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/games-emulation/dosbox/dosbox-0.75_pre4302.ebuild b/games-emulation/dosbox/dosbox-0.75_pre4302.ebuild
index 8ec0aed21784..f3b61cd5fc75 100644
--- a/games-emulation/dosbox/dosbox-0.75_pre4302.ebuild
+++ b/games-emulation/dosbox/dosbox-0.75_pre4302.ebuild
@@ -60,6 +60,14 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=strict-aliasing, -Weror=odr
+	# https://bugs.gentoo.org/858638
+	#
+	# Upstream is kinda dead. Just use dosbox-staging... where I reported
+	# similar issues and they were fixed. ;)
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	use glide && append-cppflags -I"${EPREFIX}"/usr/include/openglide
 
 	ac_cv_lib_X11_main=$(usex X yes no) \

diff --git a/games-emulation/dosbox/dosbox-9999.ebuild b/games-emulation/dosbox/dosbox-9999.ebuild
index e113bd078a84..e645b0a8b220 100644
--- a/games-emulation/dosbox/dosbox-9999.ebuild
+++ b/games-emulation/dosbox/dosbox-9999.ebuild
@@ -58,6 +58,14 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=strict-aliasing, -Weror=odr
+	# https://bugs.gentoo.org/858638
+	#
+	# Upstream is kinda dead. Just use dosbox-staging... where I reported
+	# similar issues and they were fixed. ;)
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	use glide && append-cppflags -I"${EPREFIX}"/usr/include/openglide
 
 	ac_cv_lib_X11_main=$(usex X yes no) \


             reply	other threads:[~2024-08-06  0:20 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-06  0:20 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-28  1:19 [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox/ Sam James
2023-09-27  8:33 Sam James
2023-09-27  6:22 Sam James
2021-04-04  7:22 Sam James
2021-02-24 20:47 James Le Cuirot
2020-01-05 19:45 Agostino Sarubbo
2020-01-05 19:43 Agostino Sarubbo
2020-01-05 18:45 Agostino Sarubbo
2020-01-01 22:56 James Le Cuirot
2020-01-01 22:56 James Le Cuirot
2020-01-01 22:56 James Le Cuirot
2019-06-09 19:22 Sergei Trofimovich
2019-01-05 19:43 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-08-27 21:16 James Le Cuirot
2018-01-11 14:54 Bernard Cafarelli
2017-01-20 16:21 David Seifert
2016-12-14 23:12 James Le Cuirot
2016-10-30 20:05 Sven Wegener
2016-08-24 19:07 NP Hardass
2016-08-24 19:07 NP Hardass
2016-06-29 22:23 William Hubbs
2016-06-28 17:35 Michael Sterrett
2016-06-28 14:51 Michael Sterrett
2016-06-28 13:59 Patrice Clement
2015-11-22  3:35 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=1722903510.bf241a4260954afb732b4600e8ad82e744135833.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