mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
cherry pick a fix for the tests failing with the new glib version
This commit is contained in:
Vendored
+8
@@ -1,3 +1,11 @@
|
|||||||
|
libfprint (1:1.94.5+tod1-0ubuntu2) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* debian/patches/git_tests_fix.patch:
|
||||||
|
- cherry pick a fix for the tests failing with the new glib version
|
||||||
|
(lp: #2013106)
|
||||||
|
|
||||||
|
-- Sebastien Bacher <seb128@ubuntu.com> Wed, 12 Apr 2023 10:42:48 +0200
|
||||||
|
|
||||||
libfprint (1:1.94.5+tod1-0ubuntu1) kinetic; urgency=medium
|
libfprint (1:1.94.5+tod1-0ubuntu1) kinetic; urgency=medium
|
||||||
|
|
||||||
* New upstream release (LP: #1992855):
|
* New upstream release (LP: #1992855):
|
||||||
|
|||||||
Vendored
+29
@@ -0,0 +1,29 @@
|
|||||||
|
From 9fd2ccff2916ac2131973b84736c3f374f7c05d3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
|
||||||
|
Date: Wed, 15 Mar 2023 16:03:58 +0100
|
||||||
|
Subject: [PATCH] virtual-device-listener: Always return task even if we got
|
||||||
|
zero bytes
|
||||||
|
|
||||||
|
See: https://gitlab.gnome.org/GNOME/glib/-/issues/1346
|
||||||
|
---
|
||||||
|
libfprint/drivers/virtual-device-listener.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libfprint/drivers/virtual-device-listener.c b/libfprint/drivers/virtual-device-listener.c
|
||||||
|
index cd2fe2e09..16987a1b2 100644
|
||||||
|
--- a/libfprint/drivers/virtual-device-listener.c
|
||||||
|
+++ b/libfprint/drivers/virtual-device-listener.c
|
||||||
|
@@ -273,7 +273,8 @@ on_stream_read_cb (GObject *source_object,
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- // g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_INVALID_DATA, "Got empty data");
|
||||||
|
+ g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_INVALID_DATA,
|
||||||
|
+ "Got empty data");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
||||||
|
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
git_tests_fix.patch
|
||||||
Reference in New Issue
Block a user