Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/libfprint.git#bd329cd830192cb179d060a7ce2922facfa6a916
This commit is contained in:
DistroBaker 2020-12-15 11:03:05 +00:00
parent e31983a839
commit 4674bfdb6b
4 changed files with 36 additions and 2 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ libfprint-0.3.0.tar.bz2
/libfprint-v1.90.3.tar.gz
/libfprint-v1.90.4.tar.gz
/libfprint-v1.90.5.tar.gz
/libfprint-v1.90.6.tar.gz

View File

@ -0,0 +1,28 @@
From 2d10d864d8bc4b952cf412f6e18e44412dba759a Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Wed, 9 Dec 2020 15:46:23 +0100
Subject: [PATCH] nbis: Disable array-parameter and array-bounds warnings
NBIS just does weird things and while the array-parameter warning is
easy to fix, the other is not trivial. So disable these warnings so that
we can still build using newer GCC versions.
---
libfprint/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libfprint/meson.build b/libfprint/meson.build
index 96cfe9b..4d1d30c 100644
--- a/libfprint/meson.build
+++ b/libfprint/meson.build
@@ -234,6 +234,8 @@ libnbis = static_library('nbis',
'-Wno-error=redundant-decls',
'-Wno-redundant-decls',
'-Wno-discarded-qualifiers',
+ '-Wno-array-bounds',
+ '-Wno-array-parameter',
]),
install: false)
--
2.26.2

View File

@ -1,6 +1,6 @@
Name: libfprint
Version: 1.90.5
Version: 1.90.6
Release: 1%{?dist}
Summary: Toolkit for fingerprint scanner
@ -26,6 +26,8 @@ BuildRequires: gobject-introspection-devel
BuildRequires: python3-cairo python3-gobject cairo-devel
BuildRequires: umockdev >= 0.13.2
Patch000: 0001-nbis-Disable-array-parameter-and-array-bounds-warnin.patch
%description
libfprint offers support for consumer fingerprint reader devices.
@ -69,6 +71,9 @@ developing applications that use %{name}.
%{_datadir}/gtk-doc/html/libfprint-2/
%changelog
* Wed Dec 09 2020 Benjamin Berg <bberg@redhat.com> - 1.90.6-1
- New upstream release 1.90.6 (#1902256)
* Tue Dec 01 2020 Benjamin Berg <bberg@redhat.com> - 1.90.5-1
- New upstream release 1.90.5 (#1902256)

View File

@ -1 +1 @@
SHA512 (libfprint-v1.90.5.tar.gz) = 441d96fcb17d20198dc786780fd07a213366f48829e1ea90dec334d4ea441bf5c2c2218fc3b29c332bca0e8a0209e3df74a5845caa4b5f2552222ea760adf80f
SHA512 (libfprint-v1.90.6.tar.gz) = 91ce2bbc5bed17d8a343fa78cede3d0f14a83706a9c950334db98933ceea5c11c3af81f9692108bf49b3a31f91a4be34812f27a7703f164ebffdbc29eb73fac8