commit: 6287d789783e493e625a06a548c4691851563d36 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Wed Mar 6 04:16:43 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 6 05:29:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6287d789
app-i18n/scim-m17n: re-run autoreconf to fix LTO The 2009 era distfile is so old that it probably has many bugs. We are particularly concerned by nm detection failing under LTO causing: ``` generating symbol list for `m17n.la' /usr/bin/nm -B .libs/m17n_la-scim_m17n_imengine.o | | /usr/bin/sed 's/.* //' | sort | uniq > .libs/m17n.exp ../libtool: 1: eval: Syntax error: "|" unexpected ``` Bug: https://bugs.gentoo.org/553842 Closes: https://bugs.gentoo.org/854666 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild b/app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild index 6fb3a51c366f..4f823e5eb9e6 100644 --- a/app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild +++ b/app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 +inherit autotools + DESCRIPTION="An input module for Smart Common Input Method (SCIM) which uses m17n as backend" HOMEPAGE="http://www.scim-im.org/projects/imengines" SRC_URI="mirror://sourceforge/scim/${P}.tar.gz" @@ -17,6 +19,12 @@ RDEPEND=">=app-i18n/scim-1.4 DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare() { + default + # update the 2009 era configure / libtool scripts, which fail with LTO + eautoreconf +} + src_configure() { econf --disable-static }