summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-02-04 16:00:19 -0800
committerKhem Raj <raj.khem@gmail.com>2021-02-04 16:02:06 -0800
commitf9f931719640503292fa429da12a082008d0056d (patch)
treed56716dff6c217dc73a5c60e4c0ee67ce271529a
parent20540303ea72e8d15f34f6557caf8c3238730497 (diff)
downloadmeta-openembedded-f9f931719640503292fa429da12a082008d0056d.tar.gz
hidapi: Backport patch to fix build with autotools 2.70+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/hidapi/hidapi/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch27
-rw-r--r--meta-oe/recipes-support/hidapi/hidapi_git.bb4
2 files changed, 30 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/hidapi/hidapi/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch b/meta-oe/recipes-support/hidapi/hidapi/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch
new file mode 100644
index 000000000..f3cd1015f
--- /dev/null
+++ b/meta-oe/recipes-support/hidapi/hidapi/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch
@@ -0,0 +1,27 @@
1From ce3ab6ba4b8176d100ac535a39e3d5b0c517989b Mon Sep 17 00:00:00 2001
2From: Jan Palus <atler@pld-linux.org>
3Date: Fri, 15 Jan 2021 14:32:14 +0100
4Subject: [PATCH] configure.ac: remove duplicate AC_CONFIG_MACRO_DIR (#226)
5
6fixes build with autoconf 2.70
7Upstream-Status: Backport [https://github.com/libusb/hidapi/pull/226]
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 configure.ac | 1 -
11 1 file changed, 1 deletion(-)
12
13diff --git a/configure.ac b/configure.ac
14index 220909a..77da67a 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -13,7 +13,6 @@ LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"
18
19 AC_CONFIG_MACRO_DIR([m4])
20 AM_INIT_AUTOMAKE([foreign -Wall -Werror])
21-AC_CONFIG_MACRO_DIR([m4])
22
23 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
24 LT_INIT
25--
262.30.0
27
diff --git a/meta-oe/recipes-support/hidapi/hidapi_git.bb b/meta-oe/recipes-support/hidapi/hidapi_git.bb
index df68a850a..76f5dc762 100644
--- a/meta-oe/recipes-support/hidapi/hidapi_git.bb
+++ b/meta-oe/recipes-support/hidapi/hidapi_git.bb
@@ -10,7 +10,9 @@ DEPENDS = "libusb udev"
10 10
11inherit autotools pkgconfig 11inherit autotools pkgconfig
12 12
13SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https" 13SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https \
14 file://0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch \
15"
14PV = "0.10.1" 16PV = "0.10.1"
15SRCREV = "f6d0073fcddbdda24549199445e844971d3c9cef" 17SRCREV = "f6d0073fcddbdda24549199445e844971d3c9cef"
16S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"