summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-21 11:29:51 +0100
committerDavid Seifert <soap@gentoo.org>2016-11-21 20:02:21 +0100
commita971872a633d7f89832cee02fcf7d2a593bc9c1d (patch)
treef8579d7850cb77b10a2c0e991ccc6fcedcde7faf /media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch
parentLinux patch 4.8.10. Update gentoo kconfig patch adding CHECKPOINT_RESTORE for... (diff)
downloadgentoo-a971872a633d7f89832cee02fcf7d2a593bc9c1d.tar.gz
gentoo-a971872a633d7f89832cee02fcf7d2a593bc9c1d.tar.bz2
gentoo-a971872a633d7f89832cee02fcf7d2a593bc9c1d.zip
media-sound/bitmeter: Fix build with GCC-5
Gentoo-bug: 586148 Fix desktop file. Update HOMEPAGE, DESCRIPTION, SRC_URI, bump to EAPI 6. Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2877
Diffstat (limited to 'media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch')
-rw-r--r--media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch b/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch
new file mode 100644
index 000000000000..37c75266887f
--- /dev/null
+++ b/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch
@@ -0,0 +1,30 @@
+Look for log10f function in libm.
+See also: https://bugs.gentoo.org/show_bug.cgi?id=586148
+
+--- a/configure.in
++++ b/configure.in
+@@ -1,8 +1,8 @@
+ dnl Process this file with autoconf to produce a configure script.
+
+-AC_INIT(configure.in)
+-AM_INIT_AUTOMAKE(bitmeter, 1.2)
+-AM_CONFIG_HEADER(config.h)
++AC_INIT([bitmeter], [1.2])
++AM_INIT_AUTOMAKE
++AC_CONFIG_HEADERS([config.h])
+ AM_MAINTAINER_MODE
+
+ AC_ISC_POSIX
+@@ -10,6 +10,12 @@
+ AM_PROG_CC_STDC
+ AC_HEADER_STDC
+
++dnl Find log10f
++dnl Gentoo-bug: 586148
++AC_SEARCH_LIBS([log10f], [m], [], [
++ AC_MSG_ERROR([unable to find the log10f() function])
++])
++
+ pkg_modules="gtk+-2.0 >= 2.0.0"
+ PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
+ AC_SUBST(PACKAGE_CFLAGS)