commit: 5169e9a45d41ae6a7b9a4ad15ced9b363f7c34d4 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Wed Dec 9 09:12:05 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Wed Dec 9 09:12:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5169e9a4
dev-libs/hidapi: tweak for autoconf-2.70 Closes: https://bugs.gentoo.org/750983 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> .../files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch | 11 +++++++++++ dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch b/dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch new file mode 100644 index 00000000000..ad79a05cb14 --- /dev/null +++ b/dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/750983 +--- a/configure.ac ++++ b/configure.ac +@@ -20,7 +20,6 @@ LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}" + + AC_CONFIG_MACRO_DIR([m4]) + AM_INIT_AUTOMAKE([foreign -Wall -Werror]) +-AC_CONFIG_MACRO_DIR([m4]) + + m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) + LT_INIT diff --git a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild index 6f6785d21d9..f10a930314c 100644 --- a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild +++ b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -35,6 +35,8 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${PN}-${EGIT_COMMIT}" +PATCHES=("${FILESDIR}"/${P}-autoconf-2.70.patch) + src_prepare() { if ! use fox; then sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die
