commit:     db07893c7e7f4a8bbde34135874c6be39b1a5826
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 20:28:55 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 20:28:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db07893c

media-libs/quvi: Fixed build with >=sys-devel/autoconf-2.70

Closes: https://bugs.gentoo.org/777768
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 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(-)

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 00000000000..55d9854a7ac
--- /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 a5e505fb63d..1c6ddec915e 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[@]}"
 }

Reply via email to