commit: 67c32b3dffa245e4d44c95e13e8f9db50994567b Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Tue Oct 12 13:22:50 2021 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Tue Oct 12 13:22:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c32b3d
app-i18n/tomoe-gtk: fix link with gold Closes: https://bugs.gentoo.org/746485 Closes: https://bugs.gentoo.org/734206 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> app-i18n/tomoe-gtk/files/tomoe-gtk-math.patch | 11 +++++++++++ ...{tomoe-gtk-0.6.0-r6.ebuild => tomoe-gtk-0.6.0-r7.ebuild} | 13 ++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/app-i18n/tomoe-gtk/files/tomoe-gtk-math.patch b/app-i18n/tomoe-gtk/files/tomoe-gtk-math.patch new file mode 100644 index 00000000000..05fba04a194 --- /dev/null +++ b/app-i18n/tomoe-gtk/files/tomoe-gtk-math.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -4,7 +4,7 @@ + -DTOMOEGTKDATADIR=\""$(datadir)"/$(PACKAGE)\" + + INCLUDES = $(GTK2_CFLAGS) $(TOMOE_CFLAGS) $(GUCHARMAP_CFLAGS) +-LIBS = $(GTK2_LIBS) $(TOMOE_LIBS) $(GUCHARMAP_LIBS) ++LIBS = $(GTK2_LIBS) $(TOMOE_LIBS) $(GUCHARMAP_LIBS) -lm + + lib_LTLIBRARIES = libtomoe-gtk.la + libtomoe_gtk_la_SOURCES = \ diff --git a/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r6.ebuild b/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r7.ebuild similarity index 78% rename from app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r6.ebuild rename to app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r7.ebuild index 24a7bebf239..e18c92f169e 100644 --- a/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r6.ebuild +++ b/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r7.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" +inherit autotools + DESCRIPTION="Tomoe GTK+ interface widget library" HOMEPAGE="http://tomoe.osdn.jp/" SRC_URI="mirror://sourceforge/tomoe/${P}.tar.gz" @@ -20,6 +22,15 @@ BDEPEND="dev-util/glib-utils sys-devel/gettext virtual/pkgconfig" +PATCHES=( "${FILESDIR}"/${PN}-math.patch ) + +AT_M4DIR="macros" + +src_prepare() { + default + eautoreconf +} + src_configure() { econf \ --disable-static \
