mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 10:34:18 +00:00
Patch vfs301 driver to look for libusb.h without the versionned path.
Hopefully fixes the kFreeBSD FTBFS.
This commit is contained in:
Vendored
+1
@@ -6,3 +6,4 @@ u8a87ba4-uru4000-fix-cancelling-of-imaging-from-error-callbac.patch
|
||||
kFreeBSD_FTBFS_add_ETIME_definition.patch
|
||||
udev-rules-creation-add-Debian-specifics.patch
|
||||
Fix-blacklist-handling-in-udev-rules-creation.patch
|
||||
use-non-versionned-libusbh-path.patch
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
Description: Use non-versionned libusb.h path
|
||||
Reference: http://thread.gmane.org/gmane.comp.lib.libusb.devel.general/11611
|
||||
.
|
||||
Hopefully fixes the kFreeBSD FTBFS.
|
||||
Author: Didier Raboud <odyx@debian.org>
|
||||
Last-Update: 2013-03-03
|
||||
--- a/libfprint/drivers/vfs301.c
|
||||
+++ b/libfprint/drivers/vfs301.c
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
-#include <libusb-1.0/libusb.h>
|
||||
+#include <libusb.h>
|
||||
|
||||
#include "vfs301_proto.h"
|
||||
#include <unistd.h>
|
||||
--- a/libfprint/drivers/vfs301_proto.c
|
||||
+++ b/libfprint/drivers/vfs301_proto.c
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
-#include <libusb-1.0/libusb.h>
|
||||
+#include <libusb.h>
|
||||
|
||||
#include "vfs301_proto.h"
|
||||
#include "vfs301_proto_fragments.h"
|
||||
--- a/libfprint/drivers/vfs301_proto.h
|
||||
+++ b/libfprint/drivers/vfs301_proto.h
|
||||
@@ -18,7 +18,7 @@
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
-#include <libusb-1.0/libusb.h>
|
||||
+#include <libusb.h>
|
||||
|
||||
enum {
|
||||
VFS301_DEFAULT_WAIT_TIMEOUT = 300,
|
||||
Reference in New Issue
Block a user