1 |
commit: 09d9c2e82538203f16df9622dcb2a754f16e44e3 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 30 14:35:33 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 16:16:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d9c2e8 |
7 |
|
8 |
x11-themes/gtk-engines-ubuntulooks: Fix for slibtool |
9 |
|
10 |
Thanks-to: orbea <orbea <AT> riseup.net> |
11 |
Closes: https://bugs.gentoo.org/778218 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
.../gtk-engines-ubuntulooks-0.9.12-libm.patch | 31 ++++++++++++++++++++++ |
15 |
.../gtk-engines-ubuntulooks-0.9.12-r3.ebuild | 1 + |
16 |
2 files changed, 32 insertions(+) |
17 |
|
18 |
diff --git a/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-libm.patch b/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-libm.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..e25df1890bd |
21 |
--- /dev/null |
22 |
+++ b/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-libm.patch |
23 |
@@ -0,0 +1,31 @@ |
24 |
+commit cd04daa9777f613daa23b3dd6f8ae1f7bc270cf8 |
25 |
+Author: orbea <orbea@××××××.net> |
26 |
+Date: Wed Mar 31 06:58:01 2021 -0700 |
27 |
+ |
28 |
+ build: Fix undefined references for libm. |
29 |
+ |
30 |
+diff --git a/configure.ac b/configure.ac |
31 |
+index 1cf7578..3e3ba4c 100644 |
32 |
+--- a/configure.ac |
33 |
++++ b/configure.ac |
34 |
+@@ -21,6 +21,9 @@ disableval="y" |
35 |
+ |
36 |
+ AC_ARG_ENABLE(animation, [ --enable-animation compile clearlooks with animation support], [animation=$disableval], [animation=$enableval]) |
37 |
+ |
38 |
++AC_CHECK_LIBM |
39 |
++AC_SUBST([LIBM]) |
40 |
++ |
41 |
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0,, |
42 |
+ AC_MSG_ERROR([GTK+-2.8 is required to compile gtk-engines])) |
43 |
+ |
44 |
+diff --git a/engine/Makefile.am b/engine/Makefile.am |
45 |
+index d98d0a0..d555e6e 100644 |
46 |
+--- a/engine/Makefile.am |
47 |
++++ b/engine/Makefile.am |
48 |
+@@ -22,5 +22,4 @@ libubuntulooks_la_SOURCES = \ |
49 |
+ ./src/config.h |
50 |
+ |
51 |
+ libubuntulooks_la_LDFLAGS = -module -avoid-version -no-undefined |
52 |
+-libubuntulooks_la_LIBADD = $(GTK_LIBS) |
53 |
+- |
54 |
++libubuntulooks_la_LIBADD = $(GTK_LIBS) $(LIBM) |
55 |
|
56 |
diff --git a/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild b/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild |
57 |
index 350ba68380c..e63da284e5f 100644 |
58 |
--- a/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild |
59 |
+++ b/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild |
60 |
@@ -34,6 +34,7 @@ PATCHES=( |
61 |
"${S}"/debian/patches/02_fix-firefox-buttons.patch |
62 |
# https://bugs.gentoo.org/419395 |
63 |
"${FILESDIR}"/${P}-glib-2.31.patch |
64 |
+ "${FILESDIR}"/${P}-libm.patch |
65 |
) |
66 |
|
67 |
src_prepare() { |