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#ac50ff481a508ecfb6d5bf89a1755eece66053bd
This commit is contained in:
DistroBaker 2021-01-13 13:29:31 +00:00
parent 145ecaca2b
commit 4c7d0c2540
4 changed files with 6 additions and 31 deletions

1
.gitignore vendored
View File

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

View File

@ -1,28 +0,0 @@
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.6
Version: 1.90.7
Release: 1%{?dist}
Summary: Toolkit for fingerprint scanner
@ -26,7 +26,6 @@ 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.
@ -71,6 +70,9 @@ developing applications that use %{name}.
%{_datadir}/gtk-doc/html/libfprint-2/
%changelog
* Wed Jan 13 13:33:12 CET 2021 Benjamin Berg <bberg@redhat.com> - 1.90.7-1
- Update to 1.90.7 (#1902256)
* Wed Dec 09 2020 Benjamin Berg <bberg@redhat.com> - 1.90.6-1
- New upstream release 1.90.6 (#1902256)

View File

@ -1 +1 @@
SHA512 (libfprint-v1.90.6.tar.gz) = 91ce2bbc5bed17d8a343fa78cede3d0f14a83706a9c950334db98933ceea5c11c3af81f9692108bf49b3a31f91a4be34812f27a7703f164ebffdbc29eb73fac8
SHA512 (libfprint-v1.90.7.tar.gz) = 07803315c89000db4caae5ae64e19042d83638a866fb3d8bcc5e1efcc44424d321974021a9a43db362baa85f0c52fd40dc97ec186eee0954671ddb04f5dfaf2d