1 |
commit: 67c32b3dffa245e4d44c95e13e8f9db50994567b |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 12 13:22:50 2021 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 12 13:22:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c32b3d |
7 |
|
8 |
app-i18n/tomoe-gtk: fix link with gold |
9 |
|
10 |
Closes: https://bugs.gentoo.org/746485 |
11 |
Closes: https://bugs.gentoo.org/734206 |
12 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
13 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
14 |
|
15 |
app-i18n/tomoe-gtk/files/tomoe-gtk-math.patch | 11 +++++++++++ |
16 |
...{tomoe-gtk-0.6.0-r6.ebuild => tomoe-gtk-0.6.0-r7.ebuild} | 13 ++++++++++++- |
17 |
2 files changed, 23 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/app-i18n/tomoe-gtk/files/tomoe-gtk-math.patch b/app-i18n/tomoe-gtk/files/tomoe-gtk-math.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..05fba04a194 |
22 |
--- /dev/null |
23 |
+++ b/app-i18n/tomoe-gtk/files/tomoe-gtk-math.patch |
24 |
@@ -0,0 +1,11 @@ |
25 |
+--- a/src/Makefile.am |
26 |
++++ b/src/Makefile.am |
27 |
+@@ -4,7 +4,7 @@ |
28 |
+ -DTOMOEGTKDATADIR=\""$(datadir)"/$(PACKAGE)\" |
29 |
+ |
30 |
+ INCLUDES = $(GTK2_CFLAGS) $(TOMOE_CFLAGS) $(GUCHARMAP_CFLAGS) |
31 |
+-LIBS = $(GTK2_LIBS) $(TOMOE_LIBS) $(GUCHARMAP_LIBS) |
32 |
++LIBS = $(GTK2_LIBS) $(TOMOE_LIBS) $(GUCHARMAP_LIBS) -lm |
33 |
+ |
34 |
+ lib_LTLIBRARIES = libtomoe-gtk.la |
35 |
+ libtomoe_gtk_la_SOURCES = \ |
36 |
|
37 |
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 |
38 |
similarity index 78% |
39 |
rename from app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r6.ebuild |
40 |
rename to app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r7.ebuild |
41 |
index 24a7bebf239..e18c92f169e 100644 |
42 |
--- a/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r6.ebuild |
43 |
+++ b/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r7.ebuild |
44 |
@@ -1,8 +1,10 @@ |
45 |
-# Copyright 1999-2020 Gentoo Authors |
46 |
+# Copyright 1999-2021 Gentoo Authors |
47 |
# Distributed under the terms of the GNU General Public License v2 |
48 |
|
49 |
EAPI="7" |
50 |
|
51 |
+inherit autotools |
52 |
+ |
53 |
DESCRIPTION="Tomoe GTK+ interface widget library" |
54 |
HOMEPAGE="http://tomoe.osdn.jp/" |
55 |
SRC_URI="mirror://sourceforge/tomoe/${P}.tar.gz" |
56 |
@@ -20,6 +22,15 @@ BDEPEND="dev-util/glib-utils |
57 |
sys-devel/gettext |
58 |
virtual/pkgconfig" |
59 |
|
60 |
+PATCHES=( "${FILESDIR}"/${PN}-math.patch ) |
61 |
+ |
62 |
+AT_M4DIR="macros" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ eautoreconf |
67 |
+} |
68 |
+ |
69 |
src_configure() { |
70 |
econf \ |
71 |
--disable-static \ |