diff --git a/debian/patches/kFreeBSD_FTBFS_add_ETIME_definition.patch b/debian/patches/kFreeBSD_FTBFS_add_ETIME_definition.patch index f0f45355..27c19eb3 100644 --- a/debian/patches/kFreeBSD_FTBFS_add_ETIME_definition.patch +++ b/debian/patches/kFreeBSD_FTBFS_add_ETIME_definition.patch @@ -3,7 +3,7 @@ Author: Steven Chamberlain Bug-Debian: http://bugs.debian.org/673704 Forwarded: not-yet Reviewed-by: Didier Raboud -Last-Update: 2012-05-21 +Last-Update: 2013-03-03 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- 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 */ #define EP_IN(n) (n | LIBUSB_ENDPOINT_IN) #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 + #include + #include diff --git a/debian/patches/use-non-versionned-libusbh-path.patch b/debian/patches/use-non-versionned-libusbh-path.patch index 0751c61d..68c0ed6b 100644 --- a/debian/patches/use-non-versionned-libusbh-path.patch +++ b/debian/patches/use-non-versionned-libusbh-path.patch @@ -6,7 +6,7 @@ Author: Didier Raboud Last-Update: 2013-03-03 --- a/libfprint/drivers/vfs301.c +++ b/libfprint/drivers/vfs301.c -@@ -27,7 +27,7 @@ +@@ -31,7 +31,7 @@ #include #include #include