1 |
commit: 5a66829cbc103112561433ebad7507ecd662b3cc |
2 |
Author: Ørjan Malde <red <AT> foxi <DOT> me> |
3 |
AuthorDate: Sat May 7 04:29:15 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 7 18:24:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a66829c |
7 |
|
8 |
x11-themes/gtk-engines-unico: fix build with slibtool |
9 |
|
10 |
Closes: https://bugs.gentoo.org/792435 |
11 |
Signed-off-by: Ørjan Malde <red <AT> foxi.me> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
...gines-unico-1.0.3_pre20140109-slibtool-lm.patch | 24 ++++++++++++++++++++++ |
15 |
.../gtk-engines-unico-1.0.3_pre20140109-r1.ebuild | 7 ++++++- |
16 |
2 files changed, 30 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/x11-themes/gtk-engines-unico/files/gtk-engines-unico-1.0.3_pre20140109-slibtool-lm.patch b/x11-themes/gtk-engines-unico/files/gtk-engines-unico-1.0.3_pre20140109-slibtool-lm.patch |
19 |
new file mode 100644 |
20 |
index 000000000000..2fe92337847a |
21 |
--- /dev/null |
22 |
+++ b/x11-themes/gtk-engines-unico/files/gtk-engines-unico-1.0.3_pre20140109-slibtool-lm.patch |
23 |
@@ -0,0 +1,24 @@ |
24 |
+https://bugs.gentoo.org/792435 |
25 |
+ |
26 |
+--- a/configure.ac |
27 |
++++ b/configure.ac |
28 |
+@@ -106,6 +106,9 @@ |
29 |
+ GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0` |
30 |
+ AC_SUBST(GTK_VERSION) |
31 |
+ |
32 |
++AC_CHECK_LIBM |
33 |
++AC_SUBST([LIBM]) |
34 |
++ |
35 |
+ # Files |
36 |
+ |
37 |
+ AC_CONFIG_FILES([ |
38 |
+--- a/unico/Makefile.am |
39 |
++++ b/unico/Makefile.am |
40 |
+@@ -20,6 +20,6 @@ |
41 |
+ |
42 |
+ libunico_la_CFLAGS = $(UNICO_CFLAGS) |
43 |
+ |
44 |
+-libunico_la_LIBADD = $(UNICO_LIBADD) |
45 |
++libunico_la_LIBADD = $(UNICO_LIBADD) $(LIBM) |
46 |
+ |
47 |
+ libunico_la_LDFLAGS = $(UNICO_LDFLAGS) |
48 |
|
49 |
diff --git a/x11-themes/gtk-engines-unico/gtk-engines-unico-1.0.3_pre20140109-r1.ebuild b/x11-themes/gtk-engines-unico/gtk-engines-unico-1.0.3_pre20140109-r1.ebuild |
50 |
index 2732161394a1..f2c47677c255 100644 |
51 |
--- a/x11-themes/gtk-engines-unico/gtk-engines-unico-1.0.3_pre20140109-r1.ebuild |
52 |
+++ b/x11-themes/gtk-engines-unico/gtk-engines-unico-1.0.3_pre20140109-r1.ebuild |
53 |
@@ -1,4 +1,4 @@ |
54 |
-# Copyright 1999-2021 Gentoo Authors |
55 |
+# Copyright 1999-2022 Gentoo Authors |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
|
58 |
EAPI=7 |
59 |
@@ -27,8 +27,13 @@ BDEPEND="virtual/pkgconfig" |
60 |
|
61 |
S="${WORKDIR}/${MY_PN}-${MY_PV}" |
62 |
|
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}"/${PN}-1.0.3_pre20140109-slibtool-lm.patch |
65 |
+) |
66 |
+ |
67 |
src_prepare() { |
68 |
default |
69 |
+ |
70 |
eautoreconf |
71 |
} |