From db07893c7e7f4a8bbde34135874c6be39b1a5826 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 22 Mar 2021 21:28:55 +0100 Subject: media-libs/quvi: Fixed build with >=sys-devel/autoconf-2.70 Closes: https://bugs.gentoo.org/777768 Signed-off-by: Lars Wendler --- media-libs/quvi/files/quvi-0.9.5-autoconf-2.70.patch | 13 +++++++++++++ media-libs/quvi/quvi-0.9.5.ebuild | 15 ++++++++++----- 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 media-libs/quvi/files/quvi-0.9.5-autoconf-2.70.patch diff --git a/media-libs/quvi/files/quvi-0.9.5-autoconf-2.70.patch b/media-libs/quvi/files/quvi-0.9.5-autoconf-2.70.patch new file mode 100644 index 000000000000..55d9854a7acb --- /dev/null +++ b/media-libs/quvi/files/quvi-0.9.5-autoconf-2.70.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/777768 + +--- quvi-0.9.5/configure.ac ++++ quvi-0.9.5/configure.ac +@@ -6,7 +6,7 @@ + AC_INIT([quvi], m4_esyscmd([./gen-ver.sh -c | tr -d '\n']), + [http://quvi.sf.net/bugs/],[],[http://quvi.sf.net/]) + +-AC_DEFINE_UNQUOTED([BUILD_OPTS], "$@", ++AC_DEFINE_UNQUOTED([BUILD_OPTS], "$*", + [Define to configure invocation command line options]) + + AC_CONFIG_SRCDIR([src/main.c]) diff --git a/media-libs/quvi/quvi-0.9.5.ebuild b/media-libs/quvi/quvi-0.9.5.ebuild index a5e505fb63dd..1c6ddec915e6 100644 --- a/media-libs/quvi/quvi-0.9.5.ebuild +++ b/media-libs/quvi/quvi-0.9.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -27,7 +27,10 @@ BDEPEND=" virtual/pkgconfig nls? ( sys-devel/gettext )" -PATCHES=( "${FILESDIR}"/${PN}-0.9.1-automagic.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-0.9.1-automagic.patch + "${FILESDIR}"/${PN}-0.9.5-autoconf-2.70.patch #777768 +) src_prepare() { default @@ -35,8 +38,10 @@ src_prepare() { } src_configure() { - econf \ - --with-manual \ - $(use_enable json) \ + local myeconfargs=( + --with-manual + $(use_enable json) $(use_enable xml) + ) + econf "${myeconfargs[@]}" } -- cgit v1.2.3-65-gdbad