commit: 5a66829cbc103112561433ebad7507ecd662b3cc Author: Ørjan Malde <red <AT> foxi <DOT> me> AuthorDate: Sat May 7 04:29:15 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat May 7 18:24:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a66829c
x11-themes/gtk-engines-unico: fix build with slibtool Closes: https://bugs.gentoo.org/792435 Signed-off-by: Ørjan Malde <red <AT> foxi.me> Signed-off-by: Sam James <sam <AT> gentoo.org> ...gines-unico-1.0.3_pre20140109-slibtool-lm.patch | 24 ++++++++++++++++++++++ .../gtk-engines-unico-1.0.3_pre20140109-r1.ebuild | 7 ++++++- 2 files changed, 30 insertions(+), 1 deletion(-) 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 new file mode 100644 index 000000000000..2fe92337847a --- /dev/null +++ b/x11-themes/gtk-engines-unico/files/gtk-engines-unico-1.0.3_pre20140109-slibtool-lm.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/792435 + +--- a/configure.ac ++++ b/configure.ac +@@ -106,6 +106,9 @@ + GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0` + AC_SUBST(GTK_VERSION) + ++AC_CHECK_LIBM ++AC_SUBST([LIBM]) ++ + # Files + + AC_CONFIG_FILES([ +--- a/unico/Makefile.am ++++ b/unico/Makefile.am +@@ -20,6 +20,6 @@ + + libunico_la_CFLAGS = $(UNICO_CFLAGS) + +-libunico_la_LIBADD = $(UNICO_LIBADD) ++libunico_la_LIBADD = $(UNICO_LIBADD) $(LIBM) + + libunico_la_LDFLAGS = $(UNICO_LDFLAGS) 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 index 2732161394a1..f2c47677c255 100644 --- 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 @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -27,8 +27,13 @@ BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${MY_PN}-${MY_PV}" +PATCHES=( + "${FILESDIR}"/${PN}-1.0.3_pre20140109-slibtool-lm.patch +) + src_prepare() { default + eautoreconf }