diff options
-rw-r--r-- | dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch | 11 | ||||
-rw-r--r-- | dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild | 4 |
2 files changed, 14 insertions, 1 deletions
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 000000000000..ad79a05cb14b --- /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 6f6785d21d9e..f10a930314c9 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 |