From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- ...urora-1.5.1-slibtool-undefined-references.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 x11-themes/gtk-engines-aurora/files/gtk-engines-aurora-1.5.1-slibtool-undefined-references.patch (limited to 'x11-themes/gtk-engines-aurora/files') diff --git a/x11-themes/gtk-engines-aurora/files/gtk-engines-aurora-1.5.1-slibtool-undefined-references.patch b/x11-themes/gtk-engines-aurora/files/gtk-engines-aurora-1.5.1-slibtool-undefined-references.patch new file mode 100644 index 000000000000..b88f21cac82b --- /dev/null +++ b/x11-themes/gtk-engines-aurora/files/gtk-engines-aurora-1.5.1-slibtool-undefined-references.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/779406 + +commit e55f6880d6bb649b2f1bd55c31bd4ba6265ccae0 +Author: orbea +Date: Tue Mar 30 11:54:33 2021 -0700 + + build: Fix undefined references for libm. + +diff --git a/Makefile.am b/Makefile.am +index 16d29ea..09a51bb 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -22,4 +22,4 @@ libaurora_la_SOURCES = \ + ./src/config.h + + libaurora_la_LDFLAGS = -module -avoid-version -no-undefined +-libaurora_la_LIBADD = $(GTK_LIBS) ++libaurora_la_LIBADD = $(GTK_LIBS) $(LIBM) +diff --git a/configure.ac b/configure.ac +index b1c35e9..9b446c3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -20,6 +20,9 @@ AC_ARG_ENABLE(animation, [ --enable-animation compile aurora with animati + + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.10.0,,AC_MSG_ERROR([GTK+-2.10 is required to compile aurora])) + ++AC_CHECK_LIBM ++AC_SUBST([LIBM]) ++ + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + -- cgit v1.2.3