diff options
author | Erik Mackdanz <stasibear@gentoo.org> | 2023-06-10 10:58:12 -0500 |
---|---|---|
committer | Erik Mackdanz <stasibear@gentoo.org> | 2023-06-10 10:58:12 -0500 |
commit | 5e1af15dc3180bad9cc46ec25f6dc0786df68f58 (patch) | |
tree | e06dc2ea490e462a4b88822c3ea48bc7fe9b79e8 /media-sound/upmpdcli | |
parent | media-gfx/exiv2: Stabilize 0.27.7 x86, #908070 (diff) | |
download | gentoo-5e1af15dc3180bad9cc46ec25f6dc0786df68f58.tar.gz gentoo-5e1af15dc3180bad9cc46ec25f6dc0786df68f58.tar.bz2 gentoo-5e1af15dc3180bad9cc46ec25f6dc0786df68f58.zip |
media-sound/upmpdcli: patch config-time implicit decl
Closes: https://bugs.gentoo.org/904997
Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
Diffstat (limited to 'media-sound/upmpdcli')
-rw-r--r-- | media-sound/upmpdcli/files/configure.patch | 11 | ||||
-rw-r--r-- | media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/upmpdcli/files/configure.patch b/media-sound/upmpdcli/files/configure.patch new file mode 100644 index 000000000000..d708186f652b --- /dev/null +++ b/media-sound/upmpdcli/files/configure.patch @@ -0,0 +1,11 @@ +--- a/configure.ac 2023-06-10 10:21:38.770760698 -0500 ++++ b/configure.ac 2023-06-10 10:22:01.670904090 -0500 +@@ -86,7 +86,7 @@ + + #### Functions + AC_LINK_IFELSE( +- [AC_LANG_PROGRAM([#include <math.h>], [double x = exp10(1.0);])], ++ [AC_LANG_PROGRAM([#include <math.h>], [double exp10(double x);], [double x = exp10(1.0);])], + [AC_DEFINE([HAVE_EXP10], [1], [Define to 1 if you have the 'exp10' function])], + []) + diff --git a/media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild b/media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild index c38f8d283050..bba4fa0a43cb 100644 --- a/media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild +++ b/media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild @@ -30,6 +30,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/makefile.patch + "${FILESDIR}"/configure.patch ) src_prepare() { @@ -39,6 +40,8 @@ src_prepare() { src_configure() { + eautoconf + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ |