From: "Yuan Liao" <liaoyuan@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/dosbox-x/
Date: Thu, 22 Dec 2022 00:46:01 +0000 (UTC) [thread overview]
Message-ID: <1671669367.331b5bbba4bfca44785c3ed7d3f367c8e7ef7621.liaoyuan@gentoo> (raw)
commit: 331b5bbba4bfca44785c3ed7d3f367c8e7ef7621
Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Thu Dec 22 00:06:40 2022 +0000
Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
CommitDate: Thu Dec 22 00:36:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=331b5bbb
games-emulation/dosbox-x: Respect user's '-O*' compiler flags
Closes: https://bugs.gentoo.org/887669
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
.../{dosbox-x-2022.08.0.ebuild => dosbox-x-2022.08.0-r1.ebuild} | 6 ++++++
...pre20221210.ebuild => dosbox-x-2022.09.1_pre20221210-r1.ebuild} | 7 +++++++
games-emulation/dosbox-x/dosbox-x-9999.ebuild | 7 +++++++
3 files changed, 20 insertions(+)
diff --git a/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild b/games-emulation/dosbox-x/dosbox-x-2022.08.0-r1.ebuild
similarity index 96%
rename from games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild
rename to games-emulation/dosbox-x/dosbox-x-2022.08.0-r1.ebuild
index 473948a53..bec3c9a2e 100644
--- a/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild
+++ b/games-emulation/dosbox-x/dosbox-x-2022.08.0-r1.ebuild
@@ -81,6 +81,12 @@ pkg_pretend() {
src_prepare() {
default
+ # https://bugs.gentoo.org/887669
+ # Comment out lines touching '-O*', and avoid creating an empty
+ # command list as a result to not break 'if', 'for', or functions
+ sed -i -E -e 's/(\s?)((C|CXX)FLAGS=.*-O)/\1: #\2/' configure.ac ||
+ die "Failed to stop configure.ac from touching '-O*' compiler flags"
+
# Patch command lines like the following in Makefile.am:
# -test -x /usr/sbin/setcap && setcap cap_net_raw=ep $(DESTDIR)$(bindir)/dosbox-x
#
diff --git a/games-emulation/dosbox-x/dosbox-x-2022.09.1_pre20221210.ebuild b/games-emulation/dosbox-x/dosbox-x-2022.09.1_pre20221210-r1.ebuild
similarity index 95%
rename from games-emulation/dosbox-x/dosbox-x-2022.09.1_pre20221210.ebuild
rename to games-emulation/dosbox-x/dosbox-x-2022.09.1_pre20221210-r1.ebuild
index 49f4ea171..9af962aef 100644
--- a/games-emulation/dosbox-x/dosbox-x-2022.09.1_pre20221210.ebuild
+++ b/games-emulation/dosbox-x/dosbox-x-2022.09.1_pre20221210-r1.ebuild
@@ -88,6 +88,13 @@ pkg_pretend() {
src_prepare() {
default
+
+ # https://bugs.gentoo.org/887669
+ # Comment out lines touching '-O*', and avoid creating an empty
+ # command list as a result to not break 'if', 'for', or functions
+ sed -i -E -e 's/(\s?)((C|CXX)FLAGS=.*-O)/\1: #\2/' configure.ac ||
+ die "Failed to stop configure.ac from touching '-O*' compiler flags"
+
eautoreconf
}
diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
index e2738549f..39ecd4c1c 100644
--- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild
+++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
@@ -88,6 +88,13 @@ pkg_pretend() {
src_prepare() {
default
+
+ # https://bugs.gentoo.org/887669
+ # Comment out lines touching '-O*', and avoid creating an empty
+ # command list as a result to not break 'if', 'for', or functions
+ sed -i -E -e 's/(\s?)((C|CXX)FLAGS=.*-O)/\1: #\2/' configure.ac ||
+ die "Failed to stop configure.ac from touching '-O*' compiler flags"
+
eautoreconf
}
next reply other threads:[~2022-12-22 0:46 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 0:46 Yuan Liao [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-15 14:45 [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/dosbox-x/ Yuan Liao
2025-02-01 23:30 Yuan Liao
2025-02-01 23:30 Yuan Liao
2025-01-03 13:46 Yuan Liao
2024-12-15 16:02 Yuan Liao
2024-12-14 16:47 Yuan Liao
2024-12-14 16:47 Yuan Liao
2024-12-14 16:47 Yuan Liao
2024-10-04 22:47 Yuan Liao
2024-10-04 22:47 Yuan Liao
2024-07-31 17:26 Yuan Liao
2024-07-02 12:52 Yuan Liao
2024-04-27 11:42 Yuan Liao
2024-03-02 3:13 Yuan Liao
2024-02-07 23:49 Yuan Liao
2023-11-07 13:49 Yuan Liao
2023-10-07 14:26 Yuan Liao
2023-10-07 14:26 Yuan Liao
2023-09-02 14:18 Yuan Liao
2023-08-19 17:29 Yuan Liao
2023-06-02 1:26 Yuan Liao
2023-05-03 1:03 Yuan Liao
2023-05-03 1:03 Yuan Liao
2023-04-01 16:55 Yuan Liao
2023-04-01 16:55 Yuan Liao
2023-03-15 20:26 Yuan Liao
2022-12-27 6:24 Yuan Liao
2022-12-27 6:24 Yuan Liao
2022-12-26 17:19 Yuan Liao
2022-12-14 17:23 Yuan Liao
2022-12-14 17:23 Yuan Liao
2022-12-05 18:29 Yuan Liao
2022-10-06 16:54 Yuan Liao
2022-09-07 14:55 Yuan Liao
2022-08-23 20:07 Yuan Liao
2022-08-02 0:27 Yuan Liao
2022-08-02 0:27 Yuan Liao
2022-07-04 16:10 Yuan Liao
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=1671669367.331b5bbba4bfca44785c3ed7d3f367c8e7ef7621.liaoyuan@gentoo \
--to=liaoyuan@gmail.com \
--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