From 5e1af15dc3180bad9cc46ec25f6dc0786df68f58 Mon Sep 17 00:00:00 2001 From: Erik Mackdanz Date: Sat, 10 Jun 2023 10:58:12 -0500 Subject: media-sound/upmpdcli: patch config-time implicit decl Closes: https://bugs.gentoo.org/904997 Signed-off-by: Erik Mackdanz --- media-sound/upmpdcli/files/configure.patch | 11 +++++++++++ media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 media-sound/upmpdcli/files/configure.patch (limited to 'media-sound/upmpdcli') 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 ], [double x = exp10(1.0);])], ++ [AC_LANG_PROGRAM([#include ], [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 \ -- cgit v1.2.3-65-gdbad