diff options
author | Pierre-Jean Texier <pjtexier@koncepto.io> | 2020-06-08 12:52:56 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-08 22:00:37 -0700 |
commit | 8bec347159e6ad3bb8b376ccaff8df5b5591e228 (patch) | |
tree | ffdef333b24b6b24e1a2a3cdee90067f9307661c | |
parent | c3041362f5053ec272916329b4321547a21adb8b (diff) | |
download | meta-openembedded-8bec347159e6ad3bb8b376ccaff8df5b5591e228.tar.gz |
libnfc: upgrade 1.7.1 -> 1.8.0
See full changelog https://github.com/nfc-tools/libnfc/blob/master/ChangeLog#L1
Also remove patch applied upstream
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-core/libnfc/libnfc/0001-usbbus-Include-stdint.h-for-uintX_t.patch | 24 | ||||
-rw-r--r-- | meta-oe/recipes-core/libnfc/libnfc_git.bb | 8 |
2 files changed, 3 insertions, 29 deletions
diff --git a/meta-oe/recipes-core/libnfc/libnfc/0001-usbbus-Include-stdint.h-for-uintX_t.patch b/meta-oe/recipes-core/libnfc/libnfc/0001-usbbus-Include-stdint.h-for-uintX_t.patch deleted file mode 100644 index b8ed87aa0f..0000000000 --- a/meta-oe/recipes-core/libnfc/libnfc/0001-usbbus-Include-stdint.h-for-uintX_t.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | From cb2a3991545ba9e885704226ed3e831bd5e4cb27 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 20 May 2019 22:10:05 -0700 | ||
4 | Subject: [PATCH] usbbus: Include stdint.h for uintX_t | ||
5 | |||
6 | stdint.h is needed for uintX_t typedefs which are | ||
7 | used to replace u_intX_t in libusb API headers in the cmake files | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/nfc-tools/libnfc/pull/544] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | libnfc/buses/usbbus.h | 2 ++ | ||
13 | 1 file changed, 2 insertions(+) | ||
14 | |||
15 | --- a/libnfc/buses/usbbus.h | ||
16 | +++ b/libnfc/buses/usbbus.h | ||
17 | @@ -35,6 +35,7 @@ | ||
18 | |||
19 | #ifndef _WIN32 | ||
20 | // Under POSIX system, we use libusb (>= 0.1.12) | ||
21 | +#include <stdint.h> | ||
22 | #include <usb.h> | ||
23 | #define USB_TIMEDOUT ETIMEDOUT | ||
24 | #define _usb_strerror( X ) strerror(-X) | ||
diff --git a/meta-oe/recipes-core/libnfc/libnfc_git.bb b/meta-oe/recipes-core/libnfc/libnfc_git.bb index 2851ecf9fe..9e602f193b 100644 --- a/meta-oe/recipes-core/libnfc/libnfc_git.bb +++ b/meta-oe/recipes-core/libnfc/libnfc_git.bb | |||
@@ -7,13 +7,11 @@ SECTION = "libs" | |||
7 | 7 | ||
8 | inherit autotools pkgconfig | 8 | inherit autotools pkgconfig |
9 | 9 | ||
10 | PV = "1.7.1+git${SRCPV}" | 10 | PV = "1.8.0+git${SRCPV}" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | SRCREV = "2d4543673e9b76c02679ca8b89259659f1afd932" | 13 | SRCREV = "f02ff51449240102c27a97173dc495e8e7789046" |
14 | SRC_URI = "git://github.com/nfc-tools/libnfc.git \ | 14 | SRC_URI = "git://github.com/nfc-tools/libnfc.git" |
15 | file://0001-usbbus-Include-stdint.h-for-uintX_t.patch \ | ||
16 | " | ||
17 | 15 | ||
18 | CFLAGS_append_libc-musl = " -D_GNU_SOURCE" | 16 | CFLAGS_append_libc-musl = " -D_GNU_SOURCE" |
19 | DEPENDS = "libusb" | 17 | DEPENDS = "libusb" |