From: Wang Mingyu <[email protected]>

0001-usb.h-Include-sys-types.h.patch
refreshed for new version

Signed-off-by: Wang Mingyu <[email protected]>
---
 .../0001-usb.h-Include-sys-types.h.patch           | 14 ++++++++------
 ...busb-compat_0.1.7.bb => libusb-compat_0.1.8.bb} |  2 +-
 2 files changed, 9 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-support/libusb/{libusb-compat_0.1.7.bb => 
libusb-compat_0.1.8.bb} (96%)

diff --git 
a/meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
 
b/meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
index f4f759c85..7df44737a 100644
--- 
a/meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
+++ 
b/meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
@@ -8,21 +8,23 @@ 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 fa0e6c6..4e88eb8 100644
+index ea62543..18b610a 100644
 --- a/libusb/usb.h
 +++ b/libusb/usb.h
-@@ -45,6 +45,8 @@ typedef unsigned __int32  uint32_t;
+@@ -46,6 +46,8 @@ typedef unsigned __int32  uint32_t;
  #include <stdint.h>
  #endif
  
 +#include <sys/types.h>
 +
- /*
-  * USB spec information
-  *
+ /* On linux PATH_MAX is defined in linux/limits.h. */
+ #if defined(__linux__)
+ #include <linux/limits.h>
+-- 
+2.34.1
+
diff --git a/meta-oe/recipes-support/libusb/libusb-compat_0.1.7.bb 
b/meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb
similarity index 96%
rename from meta-oe/recipes-support/libusb/libusb-compat_0.1.7.bb
rename to meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb
index 5ab08f6e5..869e98fe5 100644
--- a/meta-oe/recipes-support/libusb/libusb-compat_0.1.7.bb
+++ b/meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb
@@ -22,7 +22,7 @@ SRC_URI = " \
     git://github.com/libusb/libusb-compat-0.1.git;protocol=https;branch=master 
\
     file://0001-usb.h-Include-sys-types.h.patch \
 "
-SRCREV = "4a27760ec5954ec8605e052a3207afbe0979eeef"
+SRCREV = "88740f0fe497b473c8ef40093ab7daeebfb40eb6"
 S = "${WORKDIR}/git"
 
 UPSTREAM_CHECK_URI = "https://github.com/libusb/libusb-compat-0.1/releases";
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#101137): 
https://lists.openembedded.org/g/openembedded-devel/message/101137
Mute This Topic: https://lists.openembedded.org/mt/97045096/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to