commit: 63c79d85f42813299f878b3f67c039e2b23994f3 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Wed Mar 6 06:18:16 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 6 06:29:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c79d85
app-i18n/scim-uim: 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 `uim.la' /usr/bin/nm -B .libs/uim_la-scim_uim_imengine.o | | /usr/bin/sed 's/.* //' | sort | uniq > .libs/uim.exp ../libtool: 1: eval: Syntax error: "|" unexpected ``` Closes: https://bugs.gentoo.org/854672 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild b/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild index 8b9fe22e0718..dc2d5aabb92f 100644 --- a/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild +++ b/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2017 Gentoo Foundation +# 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 uim as backend" HOMEPAGE="http://www.scim-im.org/" SRC_URI="mirror://sourceforge/scim/${P}.tar.gz" @@ -23,6 +25,12 @@ PATCHES=( "${FILESDIR}"/${P}-uim-1.5.patch ) +src_prepare() { + default + # update the 2007 era configure / libtool scripts, which fail with LTO + eautoreconf +} + src_configure() { econf --disable-static }
