Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/gtk-engines-rezlooks/files/, x11-themes/gtk-engines-rezlooks/
Date: Thu, 30 Dec 2021 03:32:30
Message-Id: 1640835118.ec30f99e54682c0eed84f78bfe5a2fe7884e5770.sam@gentoo
1 commit: ec30f99e54682c0eed84f78bfe5a2fe7884e5770
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 30 03:31:47 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 30 03:31:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec30f99e
7
8 x11-themes/gtk-engines-rezlooks: fix build with slibtool (link against -lm)
9
10 Closes: https://bugs.gentoo.org/782634
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../files/gtk-engines-rezlooks-0.6-slibtool-sqrt-math.patch | 12 ++++++++++++
14 .../gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild | 7 +++++--
15 2 files changed, 17 insertions(+), 2 deletions(-)
16
17 diff --git a/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-slibtool-sqrt-math.patch b/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-slibtool-sqrt-math.patch
18 new file mode 100644
19 index 000000000000..bda895d895ca
20 --- /dev/null
21 +++ b/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-slibtool-sqrt-math.patch
22 @@ -0,0 +1,12 @@
23 +https://bugs.gentoo.org/782634
24 +--- a/configure.ac
25 ++++ b/configure.ac
26 +@@ -21,6 +21,8 @@ disableval="y"
27 +
28 + AC_ARG_ENABLE(animation, [ --enable-animation compile rezlooks with animation support], [animation=$disableval], [animation=$enableval])
29 +
30 ++AC_SEARCH_LIBS([sqrt], [m])
31 ++
32 + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0,,
33 + AC_MSG_ERROR([GTK+-2.8 is required to compile rezlooks]))
34 +
35
36 diff --git a/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild b/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild
37 index 201f5d4502e2..888c879f01f5 100644
38 --- a/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild
39 +++ b/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild
40 @@ -1,4 +1,4 @@
41 -# Copyright 1999-2020 Gentoo Authors
42 +# Copyright 1999-2021 Gentoo Authors
43 # Distributed under the terms of the GNU General Public License v2
44
45 EAPI=7
46 @@ -19,7 +19,10 @@ BDEPEND="virtual/pkgconfig"
47
48 S="${WORKDIR}"/rezlooks-${PV}
49
50 -PATCHES=( "${FILESDIR}"/${PN}-0.6-glib-single-include.patch )
51 +PATCHES=(
52 + "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
53 + "${FILESDIR}"/${PN}-0.6-slibtool-sqrt-math.patch
54 +)
55
56 src_prepare() {
57 default