Accepting request 898701 from home:matwey:branches:hardware

- Add 0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch:
  fix boo#1187056

OBS-URL: https://build.opensuse.org/request/show/898701
OBS-URL: https://build.opensuse.org/package/show/hardware/hidapi?expand=0&rev=13
This commit is contained in:
Matwey Kornilov 2021-06-12 13:04:19 +00:00 committed by Git OBS Bridge
parent 1029e6fa7c
commit f79cd45949
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From d15d594a415e5f51d2cd8ff8bb77b3765a539b98 Mon Sep 17 00:00:00 2001
From: Jan Palus <atler@pld-linux.org>
Date: Fri, 15 Jan 2021 14:32:14 +0100
Subject: [PATCH] configure.ac: remove duplicate AC_CONFIG_MACRO_DIR (#226)
fixes build with autoconf 2.70
---
configure.ac | 1 -
1 file changed, 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 220909a..77da67a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
--
2.26.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 9 09:19:42 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Add 0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch:
fix boo#1187056
-------------------------------------------------------------------
Mon Jan 11 04:35:27 UTC 2021 - Wang Jun <jgwang@suse.com>

View File

@ -28,6 +28,7 @@ URL: https://github.com/libusb/hidapi
Source: https://github.com/libusb/hidapi/archive/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE do_not_install_docs.patch -- don't let make install put files into /usr/share/doc/packages
Patch0: do_not_install_docs.patch
Patch1: 0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -74,6 +75,7 @@ While it can be used to communicate with standard HID devices like keyboards, mi
%prep
%setup -q -n %{name}-%{name}-%{version}
%patch0 -p1
%patch1 -p1
%build
./bootstrap