From 7b9a8e0dfbf4ebf2a305766cc7fd4451986a10a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 19 Jun 2020 16:16:49 +0200 Subject: [PATCH] git_reading_pointer.patch: Dopping --- debian/patches/git_reading_pointer.patch | 37 ------------------------ debian/patches/series | 3 -- 2 files changed, 40 deletions(-) delete mode 100644 debian/patches/git_reading_pointer.patch diff --git a/debian/patches/git_reading_pointer.patch b/debian/patches/git_reading_pointer.patch deleted file mode 100644 index 648cfa92..00000000 --- a/debian/patches/git_reading_pointer.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 9e2a7235e38f1e17d4964d6f18d6556ef0186cf1 Mon Sep 17 00:00:00 2001 -From: Benjamin Berg -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 diff --git a/debian/patches/series b/debian/patches/series index 53368ca4..82593cfd 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,5 +1,2 @@ -# Upstream backports -git_reading_pointer.patch - # Debian specifics udev-rules-creation-add-Debian-specifics.patch