diff options
author | Sam James <sam@gentoo.org> | 2021-12-30 03:31:47 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-30 03:31:58 +0000 |
commit | ec30f99e54682c0eed84f78bfe5a2fe7884e5770 (patch) | |
tree | 557570c61d331b96ccbadaa6307c32830a403b7e /x11-themes | |
parent | x11-themes/tangerine-icon-theme: reassign to themes project (diff) | |
download | gentoo-ec30f99e54682c0eed84f78bfe5a2fe7884e5770.tar.gz gentoo-ec30f99e54682c0eed84f78bfe5a2fe7884e5770.tar.bz2 gentoo-ec30f99e54682c0eed84f78bfe5a2fe7884e5770.zip |
x11-themes/gtk-engines-rezlooks: fix build with slibtool (link against -lm)
Closes: https://bugs.gentoo.org/782634
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-slibtool-sqrt-math.patch | 12 | ||||
-rw-r--r-- | x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild | 7 |
2 files changed, 17 insertions, 2 deletions
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 new file mode 100644 index 000000000000..bda895d895ca --- /dev/null +++ b/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-slibtool-sqrt-math.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/782634 +--- a/configure.ac ++++ b/configure.ac +@@ -21,6 +21,8 @@ disableval="y" + + AC_ARG_ENABLE(animation, [ --enable-animation compile rezlooks with animation support], [animation=$disableval], [animation=$enableval]) + ++AC_SEARCH_LIBS([sqrt], [m]) ++ + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0,, + AC_MSG_ERROR([GTK+-2.8 is required to compile rezlooks])) + 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 index 201f5d4502e2..888c879f01f5 100644 --- 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 @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,10 @@ BDEPEND="virtual/pkgconfig" S="${WORKDIR}"/rezlooks-${PV} -PATCHES=( "${FILESDIR}"/${PN}-0.6-glib-single-include.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-0.6-glib-single-include.patch + "${FILESDIR}"/${PN}-0.6-slibtool-sqrt-math.patch +) src_prepare() { default |