Bug 750983 gentoo

autoconf fix
This commit is contained in:
slava86 2022-09-20 13:52:38 +03:00
parent 58c5a4a429
commit 5a41e98305
2 changed files with 14 additions and 1 deletions

12
autoconf-2.70.patch Normal file
View file

@ -0,0 +1,12 @@
diff --git a/configure.ac b/configure.ac-diff
index 220909a..77da67a 100644
--- a/configure.ac
+++ b/configure.ac-diff
@@ -13,7 +13,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

View file

@ -6,11 +6,12 @@
Summary: Library for communicating with USB and Bluetooth HID devices
Name: hidapi
Version: 0.10.1
Release: 2
Release: 3
License: GPLv3
Group: Communications
Url: https://github.com/libusb/hidapi
Source0: https://github.com/libusb/hidapi/archive/%{name}-%{version}.tar.gz
Patch0: autoconf-2.70.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool