summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Jean Texier <pjtexier@koncepto.io>2020-06-08 12:52:56 +0200
committerKhem Raj <raj.khem@gmail.com>2020-06-08 22:00:37 -0700
commit8bec347159e6ad3bb8b376ccaff8df5b5591e228 (patch)
treeffdef333b24b6b24e1a2a3cdee90067f9307661c
parentc3041362f5053ec272916329b4321547a21adb8b (diff)
downloadmeta-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.patch24
-rw-r--r--meta-oe/recipes-core/libnfc/libnfc_git.bb8
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 @@
1From cb2a3991545ba9e885704226ed3e831bd5e4cb27 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 May 2019 22:10:05 -0700
4Subject: [PATCH] usbbus: Include stdint.h for uintX_t
5
6stdint.h is needed for uintX_t typedefs which are
7used to replace u_intX_t in libusb API headers in the cmake files
8
9Upstream-Status: Submitted [https://github.com/nfc-tools/libnfc/pull/544]
10Signed-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
8inherit autotools pkgconfig 8inherit autotools pkgconfig
9 9
10PV = "1.7.1+git${SRCPV}" 10PV = "1.8.0+git${SRCPV}"
11 11
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13SRCREV = "2d4543673e9b76c02679ca8b89259659f1afd932" 13SRCREV = "f02ff51449240102c27a97173dc495e8e7789046"
14SRC_URI = "git://github.com/nfc-tools/libnfc.git \ 14SRC_URI = "git://github.com/nfc-tools/libnfc.git"
15 file://0001-usbbus-Include-stdint.h-for-uintX_t.patch \
16 "
17 15
18CFLAGS_append_libc-musl = " -D_GNU_SOURCE" 16CFLAGS_append_libc-musl = " -D_GNU_SOURCE"
19DEPENDS = "libusb" 17DEPENDS = "libusb"