mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
* debian/patches/git_reading_pointer.patch:
- backport an upstream fix for a test issue
This commit is contained in:
Vendored
+6
-1
@@ -1,9 +1,14 @@
|
|||||||
libfprint (1:1.90.1-2) UNRELEASED; urgency=medium
|
libfprint (1:1.90.1-2) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
[ Laurent Bigonville ]
|
||||||
* debian/control: Add libcairo-dev and python3 to build-dependencies as they
|
* debian/control: Add libcairo-dev and python3 to build-dependencies as they
|
||||||
are explicitly required for some tests
|
are explicitly required for some tests
|
||||||
|
|
||||||
-- Laurent Bigonville <bigon@debian.org> Thu, 13 Feb 2020 17:35:49 +0100
|
[ Sebastien Bacher ]
|
||||||
|
* debian/patches/git_reading_pointer.patch:
|
||||||
|
- backport an upstream fix for a test issue
|
||||||
|
|
||||||
|
-- Sebastien Bacher <seb128@ubuntu.com> Mon, 24 Feb 2020 17:08:02 +0100
|
||||||
|
|
||||||
libfprint (1:1.90.1-1) experimental; urgency=medium
|
libfprint (1:1.90.1-1) experimental; urgency=medium
|
||||||
|
|
||||||
|
|||||||
+37
@@ -0,0 +1,37 @@
|
|||||||
|
From 9e2a7235e38f1e17d4964d6f18d6556ef0186cf1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Benjamin Berg <bberg@redhat.com>
|
||||||
|
Date: Wed, 19 Feb 2020 16:20:33 +0100
|
||||||
|
Subject: [PATCH] tests: Fix reading of gboolean into pointer
|
||||||
|
|
||||||
|
Otherwise the payload will be lost later on when using GPOINTER_TO_INT
|
||||||
|
to cast it back.
|
||||||
|
|
||||||
|
See: #236
|
||||||
|
---
|
||||||
|
tests/test-device-fake.c | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests/test-device-fake.c b/tests/test-device-fake.c
|
||||||
|
index cd08537..b6a9ce2 100644
|
||||||
|
--- a/tests/test-device-fake.c
|
||||||
|
+++ b/tests/test-device-fake.c
|
||||||
|
@@ -189,6 +189,7 @@ static void
|
||||||
|
fpi_device_fake_capture (FpDevice *device)
|
||||||
|
{
|
||||||
|
FpiDeviceFake *fake_dev = FPI_DEVICE_FAKE (device);
|
||||||
|
+ gboolean wait_for_finger;
|
||||||
|
|
||||||
|
fake_dev->last_called_function = fpi_device_fake_capture;
|
||||||
|
g_assert_cmpuint (fpi_device_get_current_action (device), ==, FPI_DEVICE_ACTION_CAPTURE);
|
||||||
|
@@ -199,7 +200,8 @@ fpi_device_fake_capture (FpDevice *device)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
- fpi_device_get_capture_data (device, (gboolean *) &fake_dev->action_data);
|
||||||
|
+ fpi_device_get_capture_data (device, &wait_for_finger);
|
||||||
|
+ fake_dev->action_data = GINT_TO_POINTER (wait_for_finger);
|
||||||
|
fpi_device_capture_complete (device, fake_dev->ret_image, fake_dev->ret_error);
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
# Upstream backports
|
# Upstream backports
|
||||||
|
git_reading_pointer.patch
|
||||||
|
|
||||||
# Debian specifics
|
# Debian specifics
|
||||||
udev-rules-creation-add-Debian-specifics.patch
|
udev-rules-creation-add-Debian-specifics.patch
|
||||||
|
|||||||
Reference in New Issue
Block a user