commit:     71177c4886b146ecb71f27bcba566dfff1ad4d5a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 20:43:24 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 20:43:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71177c48

media-sound/glmix: add missing -lm, bug #516274

Interestingly, -lm is present in upstream Makefile
but gentoo-specific LDFLAGS override forgot to restore it.

Reported-by: Patrick Lauer
Bug: https://bugs.gentoo.org/516274

Package-Manager: portage-2.2.28

 media-sound/glmix/glmix-0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/glmix/glmix-0.3.ebuild 
b/media-sound/glmix/glmix-0.3.ebuild
index 6569c72..d52208c 100644
--- a/media-sound/glmix/glmix-0.3.ebuild
+++ b/media-sound/glmix/glmix-0.3.ebuild
@@ -25,7 +25,7 @@ src_compile() {
        local libs="gtk+-2.0 gtkglext-1.0 jack pango"
        emake CC="$(tc-getCC)" \
                CFLAGS="${CFLAGS} $(pkg-config --cflags ${libs})" \
-               LDFLAGS="${LDFLAGS} $(pkg-config --libs ${libs})" || die "emake 
failed."
+               LDFLAGS="-lm ${LDFLAGS} $(pkg-config --libs ${libs})" || die 
"emake failed."
 }
 
 src_install() {

Reply via email to