aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hidapi/libusb_include_path.patch
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2019-01-28 14:43:23 +0100
committerHenrik Riomar <henrik.riomar@gmail.com>2019-02-01 20:31:15 +0100
commit7e33ed7daa00f7469d1bda10cc2b915c5aea6e6c (patch)
tree9649754dec5992c32ea9b57d212139fa684d8b7b /testing/hidapi/libusb_include_path.patch
parent1428b7c93ed06fb5f1392202b2127a26f64467ce (diff)
downloadaports-7e33ed7daa00f7469d1bda10cc2b915c5aea6e6c.tar.bz2
aports-7e33ed7daa00f7469d1bda10cc2b915c5aea6e6c.tar.xz
testing/hidapi: Fixed build
Diffstat (limited to 'testing/hidapi/libusb_include_path.patch')
-rw-r--r--testing/hidapi/libusb_include_path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/hidapi/libusb_include_path.patch b/testing/hidapi/libusb_include_path.patch
new file mode 100644
index 0000000000..2615d363a8
--- /dev/null
+++ b/testing/hidapi/libusb_include_path.patch
@@ -0,0 +1,12 @@
+diff -rupN hidapi-hidapi-0.8.0-rc1-old/libusb/hid.c hidapi-hidapi-0.8.0-rc1/libusb/hid.c
+--- hidapi-hidapi-0.8.0-rc1-old/libusb/hid.c 2019-01-23 10:46:10.388569561 +0100
++++ hidapi-hidapi-0.8.0-rc1/libusb/hid.c 2019-01-23 10:47:09.798295989 +0100
+@@ -44,7 +44,7 @@
+ #include <wchar.h>
+
+ /* GNU / LibUSB */
+-#include "libusb.h"
++#include "libusb-1.0/libusb.h"
+ #include "iconv.h"
+
+ #include "hidapi.h"