summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2020-05-15 01:34:34 +0200
committerKhem Raj <raj.khem@gmail.com>2020-05-14 22:24:17 -0700
commitd08c66bc817e32fd6a4dd8ecf2aa1f6c6f8e667f (patch)
treea0dd1ff956cb62b7667f8ed1237bfd982d182db6 /meta-oe/recipes-support
parent4adc1c5d9fa88421d17da3c9cf424e04edf1d552 (diff)
downloadmeta-openembedded-d08c66bc817e32fd6a4dd8ecf2aa1f6c6f8e667f.tar.gz
libusb-compat: upgrade 0.1.5 -> 0.1.7
They moved to github Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch14
-rw-r--r--meta-oe/recipes-support/libusb/libusb-compat_0.1.7.bb (renamed from meta-oe/recipes-support/libusb/libusb-compat_0.1.5.bb)17
2 files changed, 14 insertions, 17 deletions
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 b88440dec..f4f759c85 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
@@ -1,4 +1,4 @@
1From 340f911f9e3f4ff6b01682c5341c959060782af2 Mon Sep 17 00:00:00 2001 1From 840795dcb48214b74cfde75e7ce5e8a1a6c64a46 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 2 Apr 2015 19:18:45 -0700 3Date: Thu, 2 Apr 2015 19:18:45 -0700
4Subject: [PATCH] usb.h: Include sys/types.h 4Subject: [PATCH] usb.h: Include sys/types.h
@@ -8,23 +8,21 @@ We need the definitions for things like u_intX_t
8Upstream-Status: Pending 8Upstream-Status: Pending
9 9
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
11--- 12---
12 libusb/usb.h | 2 ++ 13 libusb/usb.h | 2 ++
13 1 file changed, 2 insertions(+) 14 1 file changed, 2 insertions(+)
14 15
15diff --git a/libusb/usb.h b/libusb/usb.h 16diff --git a/libusb/usb.h b/libusb/usb.h
16index 84e730f..caffae2 100644 17index fa0e6c6..4e88eb8 100644
17--- a/libusb/usb.h 18--- a/libusb/usb.h
18+++ b/libusb/usb.h 19+++ b/libusb/usb.h
19@@ -31,6 +31,8 @@ 20@@ -45,6 +45,8 @@ typedef unsigned __int32 uint32_t;
20 21 #include <stdint.h>
21 #include <dirent.h> 22 #endif
22 23
23+#include <sys/types.h> 24+#include <sys/types.h>
24+ 25+
25 /* 26 /*
26 * USB spec information 27 * USB spec information
27 * 28 *
28--
292.1.4
30
diff --git a/meta-oe/recipes-support/libusb/libusb-compat_0.1.5.bb b/meta-oe/recipes-support/libusb/libusb-compat_0.1.7.bb
index 1ddbe238f..21fa478b6 100644
--- a/meta-oe/recipes-support/libusb/libusb-compat_0.1.5.bb
+++ b/meta-oe/recipes-support/libusb/libusb-compat_0.1.7.bb
@@ -18,15 +18,14 @@ BBCLASSEXTEND = "native nativesdk"
18 18
19PE = "1" 19PE = "1"
20 20
21SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ 21SRC_URI = " \
22 file://0001-usb.h-Include-sys-types.h.patch \ 22 git://github.com/libusb/libusb-compat-0.1.git;protocol=https \
23 " 23 file://0001-usb.h-Include-sys-types.h.patch \
24 24"
25SRC_URI[md5sum] = "2780b6a758a1e2c2943bdbf7faf740e4" 25SRCREV = "4a27760ec5954ec8605e052a3207afbe0979eeef"
26SRC_URI[sha256sum] = "404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a" 26S = "${WORKDIR}/git"
27 27
28UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libusb/files/libusb-compat-0.1/" 28UPSTREAM_CHECK_URI = "https://github.com/libusb/libusb-compat-0.1/releases"
29UPSTREAM_CHECK_REGEX = "/libusb-compat-(?P<pver>(\d+[\.\-_]*)+)/$"
30 29
31BINCONFIG = "${bindir}/libusb-config" 30BINCONFIG = "${bindir}/libusb-config"
32 31