From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/gtk-engines-ubuntulooks/files/, x11-themes/gtk-engines-ubuntulooks/
Date: Fri, 30 Apr 2021 16:16:51 +0000 (UTC) [thread overview]
Message-ID: <1619799403.09d9c2e82538203f16df9622dcb2a754f16e44e3.polynomial-c@gentoo> (raw)
commit: 09d9c2e82538203f16df9622dcb2a754f16e44e3
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 30 14:35:33 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Apr 30 16:16:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d9c2e8
x11-themes/gtk-engines-ubuntulooks: Fix for slibtool
Thanks-to: orbea <orbea <AT> riseup.net>
Closes: https://bugs.gentoo.org/778218
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
.../gtk-engines-ubuntulooks-0.9.12-libm.patch | 31 ++++++++++++++++++++++
.../gtk-engines-ubuntulooks-0.9.12-r3.ebuild | 1 +
2 files changed, 32 insertions(+)
diff --git a/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-libm.patch b/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-libm.patch
new file mode 100644
index 00000000000..e25df1890bd
--- /dev/null
+++ b/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-libm.patch
@@ -0,0 +1,31 @@
+commit cd04daa9777f613daa23b3dd6f8ae1f7bc270cf8
+Author: orbea <orbea@riseup.net>
+Date: Wed Mar 31 06:58:01 2021 -0700
+
+ build: Fix undefined references for libm.
+
+diff --git a/configure.ac b/configure.ac
+index 1cf7578..3e3ba4c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -21,6 +21,9 @@ disableval="y"
+
+ AC_ARG_ENABLE(animation, [ --enable-animation compile clearlooks with animation support], [animation=$disableval], [animation=$enableval])
+
++AC_CHECK_LIBM
++AC_SUBST([LIBM])
++
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0,,
+ AC_MSG_ERROR([GTK+-2.8 is required to compile gtk-engines]))
+
+diff --git a/engine/Makefile.am b/engine/Makefile.am
+index d98d0a0..d555e6e 100644
+--- a/engine/Makefile.am
++++ b/engine/Makefile.am
+@@ -22,5 +22,4 @@ libubuntulooks_la_SOURCES = \
+ ./src/config.h
+
+ libubuntulooks_la_LDFLAGS = -module -avoid-version -no-undefined
+-libubuntulooks_la_LIBADD = $(GTK_LIBS)
+-
++libubuntulooks_la_LIBADD = $(GTK_LIBS) $(LIBM)
diff --git a/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild b/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild
index 350ba68380c..e63da284e5f 100644
--- a/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild
+++ b/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild
@@ -34,6 +34,7 @@ PATCHES=(
"${S}"/debian/patches/02_fix-firefox-buttons.patch
# https://bugs.gentoo.org/419395
"${FILESDIR}"/${P}-glib-2.31.patch
+ "${FILESDIR}"/${P}-libm.patch
)
src_prepare() {
reply other threads:[~2021-04-30 16:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1619799403.09d9c2e82538203f16df9622dcb2a754f16e44e3.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox