From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/timidity++/
Date: Wed, 22 Dec 2021 03:57:13 +0000 (UTC) [thread overview]
Message-ID: <1640142059.b48871811b67831bb9657d653af8b338239adbda.sam@gentoo> (raw)
commit: b48871811b67831bb9657d653af8b338239adbda
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 22 03:00:59 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 03:00:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4887181
media-sound/timidity++: add configure workarounds
- Rename configure.in -> configure.ac
- Avoid dodgy configure tests (written for old autoconf, fragile)
Closes: https://bugs.gentoo.org/665600
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-sound/timidity++/timidity++-2.15.0-r2.ebuild | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/media-sound/timidity++/timidity++-2.15.0-r2.ebuild b/media-sound/timidity++/timidity++-2.15.0-r2.ebuild
index b776c4681ac2..f0377e343868 100644
--- a/media-sound/timidity++/timidity++-2.15.0-r2.ebuild
+++ b/media-sound/timidity++/timidity++-2.15.0-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools desktop elisp-common systemd toolchain-funcs xdg
+inherit autotools desktop elisp-common flag-o-matic systemd toolchain-funcs xdg
MY_PV="${PV/_/-}"
MY_P="TiMidity++-${MY_PV}"
@@ -69,6 +69,9 @@ PATCHES=(
src_prepare() {
default
+
+ mv configure.{in,ac} || die
+
eautoreconf
}
@@ -79,6 +82,18 @@ src_configure() {
# List by preference
local xaw_provider=$(usex Xaw3d 'xaw3d' 'xaw')
+ # configure workarounds: configure.in here is written for an old version
+ # of autoconf and upstream seems quite dead.
+ #
+ # 1. Avoid janky configure test breaking
+ # ```checking for sys/wait.h that is POSIX.1 compatible... yes
+ # ./configure: 7995: test: =: unexpected operator```
+ export ac_cv_header_sys_time_h=yes
+ #
+ # 2. And yes, we expect standard header locations (this configure test is flaky for us too)
+ # This avoids a bunch of implicit decl. errors which only happen with USE=-Xaw3d(?!)
+ append-cppflags -DSTDC_HEADERS
+
local myeconfargs=(
--localstatedir=/var/state/${PN}
--with-module-dir="${EPREFIX}/usr/share/timidity"
next reply other threads:[~2021-12-22 3:57 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-22 3:57 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-26 6:33 [gentoo-commits] repo/gentoo:master commit in: media-sound/timidity++/ Sam James
2023-07-07 21:53 Conrad Kostecki
2023-04-16 12:11 WANG Xuerui
2022-10-21 4:01 Miroslav Šulc
2022-10-20 19:00 Jakov Smolić
2022-10-20 10:56 Jakov Smolić
2022-10-13 6:57 Agostino Sarubbo
2022-10-13 6:56 Agostino Sarubbo
2022-10-13 6:55 Agostino Sarubbo
2022-10-13 6:54 Agostino Sarubbo
2022-10-13 6:53 Agostino Sarubbo
2022-09-10 8:41 Sam James
2021-12-22 5:24 Sam James
2021-12-22 3:57 Sam James
2021-07-13 20:57 Conrad Kostecki
2021-07-13 20:57 Conrad Kostecki
2021-01-03 12:10 Sergei Trofimovich
2021-01-01 11:21 Sergei Trofimovich
2020-12-31 3:25 Sam James
2020-12-31 1:47 Sam James
2020-12-30 2:39 Sam James
2020-08-08 8:49 Sergei Trofimovich
2020-07-26 0:46 Sam James
2020-07-10 0:15 Sam James
2019-03-12 8:42 Lars Wendler
2018-09-15 20:05 Andreas Sturmlechner
2018-09-03 18:57 Andreas Sturmlechner
2018-09-03 18:57 Andreas Sturmlechner
2018-09-02 23:46 Thomas Deutschmann
2018-09-01 23:26 Sergei Trofimovich
2018-09-01 23:22 Sergei Trofimovich
2018-08-30 6:16 Sergei Trofimovich
2018-08-28 12:52 Agostino Sarubbo
2018-01-01 18:38 Miroslav Šulc
2017-06-21 10:47 Alexis Ballier
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=1640142059.b48871811b67831bb9657d653af8b338239adbda.sam@gentoo \
--to=sam@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