mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
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>
This commit is contained in:
committed by
Khem Raj
parent
c3041362f5
commit
8bec347159
@@ -1,24 +0,0 @@
|
|||||||
From cb2a3991545ba9e885704226ed3e831bd5e4cb27 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
|
||||||
Date: Mon, 20 May 2019 22:10:05 -0700
|
|
||||||
Subject: [PATCH] usbbus: Include stdint.h for uintX_t
|
|
||||||
|
|
||||||
stdint.h is needed for uintX_t typedefs which are
|
|
||||||
used to replace u_intX_t in libusb API headers in the cmake files
|
|
||||||
|
|
||||||
Upstream-Status: Submitted [https://github.com/nfc-tools/libnfc/pull/544]
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
||||||
---
|
|
||||||
libnfc/buses/usbbus.h | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
--- a/libnfc/buses/usbbus.h
|
|
||||||
+++ b/libnfc/buses/usbbus.h
|
|
||||||
@@ -35,6 +35,7 @@
|
|
||||||
|
|
||||||
#ifndef _WIN32
|
|
||||||
// Under POSIX system, we use libusb (>= 0.1.12)
|
|
||||||
+#include <stdint.h>
|
|
||||||
#include <usb.h>
|
|
||||||
#define USB_TIMEDOUT ETIMEDOUT
|
|
||||||
#define _usb_strerror( X ) strerror(-X)
|
|
||||||
@@ -7,13 +7,11 @@ SECTION = "libs"
|
|||||||
|
|
||||||
inherit autotools pkgconfig
|
inherit autotools pkgconfig
|
||||||
|
|
||||||
PV = "1.7.1+git${SRCPV}"
|
PV = "1.8.0+git${SRCPV}"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
SRCREV = "2d4543673e9b76c02679ca8b89259659f1afd932"
|
SRCREV = "f02ff51449240102c27a97173dc495e8e7789046"
|
||||||
SRC_URI = "git://github.com/nfc-tools/libnfc.git \
|
SRC_URI = "git://github.com/nfc-tools/libnfc.git"
|
||||||
file://0001-usbbus-Include-stdint.h-for-uintX_t.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
CFLAGS_append_libc-musl = " -D_GNU_SOURCE"
|
CFLAGS_append_libc-musl = " -D_GNU_SOURCE"
|
||||||
DEPENDS = "libusb"
|
DEPENDS = "libusb"
|
||||||
|
|||||||
Reference in New Issue
Block a user