Skip to contentSkip to conversation

libusb-compat: add (from oe-core)

PATCH New Ross Burton 1 participant 1 message Jul 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libusb-compat: add (from oe-core)

This is being removed from oe-core, so add to meta-oe as some recipes still claim to need it.

---
 .../0001-usb.h-Include-sys-types.h.patch           | 30 ++++++++++++++++
 .../recipes-support/libusb/libusb-compat_0.1.5.bb  | 42 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)
 create mode 100644 meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
 create mode 100644 meta-oe/recipes-support/libusb/libusb-compat_0.1.5.bb
meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch new file +30 -0
new file mode 100644
index 0000000000..b88440dec9
@@ -0,0 +1,30 @@
+From 340f911f9e3f4ff6b01682c5341c959060782af2 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Thu, 2 Apr 2015 19:18:45 -0700
+Subject: [PATCH] usb.h: Include sys/types.h
+
+We need the definitions for things like u_intX_t
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+ libusb/usb.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libusb/usb.h b/libusb/usb.h
+index 84e730f..caffae2 100644
+--- a/libusb/usb.h
++++ b/libusb/usb.h
+@@ -31,6 +31,8 @@
+ 
+ #include <dirent.h>
+ 
++#include <sys/types.h>
++
+ /*
+  * USB spec information
+  *
+-- 
+2.1.4
+
meta-oe/recipes-support/libusb/libusb-compat_0.1.5.bb new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
2.11.0