mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 18:38:07 +00:00
Update kFreeBSD ETIME patch to also correct the vfs301 driver.
Should fix the new kFreeBSD FTBFS.
This commit is contained in:
+14
-1
@@ -3,7 +3,7 @@ Author: Steven Chamberlain <steven@pyro.eu.org>
|
|||||||
Bug-Debian: http://bugs.debian.org/673704
|
Bug-Debian: http://bugs.debian.org/673704
|
||||||
Forwarded: not-yet
|
Forwarded: not-yet
|
||||||
Reviewed-by: Didier Raboud <odyx@debian.org>
|
Reviewed-by: Didier Raboud <odyx@debian.org>
|
||||||
Last-Update: 2012-05-21
|
Last-Update: 2013-03-03
|
||||||
---
|
---
|
||||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||||
--- a/libfprint/drivers/uru4000.c
|
--- a/libfprint/drivers/uru4000.c
|
||||||
@@ -32,3 +32,16 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|||||||
/* Input-Output usb endpoint */
|
/* Input-Output usb endpoint */
|
||||||
#define EP_IN(n) (n | LIBUSB_ENDPOINT_IN)
|
#define EP_IN(n) (n | LIBUSB_ENDPOINT_IN)
|
||||||
#define EP_OUT(n) (n | LIBUSB_ENDPOINT_OUT)
|
#define EP_OUT(n) (n | LIBUSB_ENDPOINT_OUT)
|
||||||
|
--- a/libfprint/drivers/vfs301.c
|
||||||
|
+++ b/libfprint/drivers/vfs301.c
|
||||||
|
@@ -21,6 +21,10 @@
|
||||||
|
|
||||||
|
#define FP_COMPONENT "vfs301"
|
||||||
|
|
||||||
|
+#ifndef ETIME
|
||||||
|
+#define ETIME ETIMEDOUT /* For kFreeBSD */
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include <errno.h>
|
||||||
|
#include <signal.h>
|
||||||
|
#include <string.h>
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ Author: Didier Raboud <odyx@debian.org>
|
|||||||
Last-Update: 2013-03-03
|
Last-Update: 2013-03-03
|
||||||
--- a/libfprint/drivers/vfs301.c
|
--- a/libfprint/drivers/vfs301.c
|
||||||
+++ b/libfprint/drivers/vfs301.c
|
+++ b/libfprint/drivers/vfs301.c
|
||||||
@@ -27,7 +27,7 @@
|
@@ -31,7 +31,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user