summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-12-09 09:12:05 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-12-09 09:12:05 +0000
commit5169e9a45d41ae6a7b9a4ad15ced9b363f7c34d4 (patch)
tree809ccbc8c7ae899751887c48b305d9120f2592b3 /dev-libs/hidapi
parentdev-haskell/text-icu: tweak for icu-68.1 (diff)
downloadgentoo-5169e9a45d41ae6a7b9a4ad15ced9b363f7c34d4.tar.gz
gentoo-5169e9a45d41ae6a7b9a4ad15ced9b363f7c34d4.tar.bz2
gentoo-5169e9a45d41ae6a7b9a4ad15ced9b363f7c34d4.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs/hidapi')
-rw-r--r--dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch11
-rw-r--r--dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild4
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