diff options
author | Harald Eilertsen <haraldei-freebsdbugz@anduin.net> | 2024-10-10 14:42:21 +0200 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2024-10-11 12:42:17 +0200 |
commit | 5b44e3f6b6b24cba2cb0da23b87a6a1c3102cd67 (patch) | |
tree | c7f3c5c8bf8099e5073be3f40bd9b53dcf179fc9 /security/libfprint/files/patch-libfprint_fp-device.c | |
parent | misc/py-polars: update 1.4.1 → 1.9.0 (diff) |
security/libfprint: Update from 0.7.0 to 1.94.8
Upstream has been updated so it builds on FreeBSD again.
PR: 281386
Reviewed by: 0mp
Tested by: Eirik Øverby <ltning@anduin.net>
Approved by: maintainer timeout
Sponsored by: Entersekt (previously Modirum MDpay)
Diffstat (limited to 'security/libfprint/files/patch-libfprint_fp-device.c')
-rw-r--r-- | security/libfprint/files/patch-libfprint_fp-device.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/security/libfprint/files/patch-libfprint_fp-device.c b/security/libfprint/files/patch-libfprint_fp-device.c new file mode 100644 index 000000000000..b3933580fe59 --- /dev/null +++ b/security/libfprint/files/patch-libfprint_fp-device.c @@ -0,0 +1,17 @@ +--- libfprint/fp-device.c.orig 2024-09-06 12:19:55.705243000 +0200 ++++ libfprint/fp-device.c 2024-09-06 12:22:36.396895000 +0200 +@@ -362,12 +362,14 @@ + static void + device_idle_probe_cb (FpDevice *self, gpointer user_data) + { ++#if defined(__linux) + /* This should not be an idle handler, see comment where it is registered. + * + * This effectively disables USB "persist" for us, and possibly turns off + * USB wakeup if it was enabled for some reason. + */ + fpi_device_configure_wakeup (self, FALSE); ++#endif + + if (!FP_DEVICE_GET_CLASS (self)->probe) + fpi_device_probe_complete (self, NULL, NULL, NULL); |