mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
Correct the kFreeBSD ETIME patch update to define ETIME later.
Should fix the new kFreeBSD FTBFS.
This commit is contained in:
+12
-4
@@ -34,14 +34,22 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||
#define EP_OUT(n) (n | LIBUSB_ENDPOINT_OUT)
|
||||
--- a/libfprint/drivers/vfs301.c
|
||||
+++ b/libfprint/drivers/vfs301.c
|
||||
@@ -21,6 +21,10 @@
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#define FP_COMPONENT "vfs301"
|
||||
|
||||
+
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
@@ -36,6 +37,10 @@
|
||||
|
||||
#include "driver_ids.h"
|
||||
|
||||
+#ifndef ETIME
|
||||
+#define ETIME ETIMEDOUT /* For kFreeBSD */
|
||||
+#endif
|
||||
+
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
/************************** GENERIC STUFF *************************************/
|
||||
|
||||
/* Callback of asynchronous sleep */
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ Author: Didier Raboud <odyx@debian.org>
|
||||
Last-Update: 2013-03-03
|
||||
--- a/libfprint/drivers/vfs301.c
|
||||
+++ b/libfprint/drivers/vfs301.c
|
||||
@@ -31,7 +31,7 @@
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user