package/pcsc-lite: bump to version 1.9.6

- host-flex is mandatory since
  3f89340785
- Set --disable-strict to remove -Werror which was added with
  9124a59d8f
- Drop patch (already in version)

https://github.com/LudovicRousseau/PCSC/releases/tag/1.9.6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-05-11 19:01:26 +02:00 committed by Peter Korsgaard
parent c2d3033ddc
commit b02f13cd54
3 changed files with 4 additions and 38 deletions

View File

@ -1,35 +0,0 @@
From 2153e165c48e541bb5a8b23f81e87db87a9394fd Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Tue, 14 Dec 2021 08:20:59 +0100
Subject: [PATCH] src/hotplug_generic.c: fix build without lib{udev,usb}
Fix the following build failure without lib{udev,usb} raised since
version 1.9.5 and
https://github.com/LudovicRousseau/PCSC/commit/6f8f170db3c88c59a5ddb5ae5319b921a901a6aa:
/home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: pcscd-pcscdaemon.o: in function `signal_thread':
pcscdaemon.c:(.text+0x444): undefined reference to `HPReCheckSerialReaders'
Fixes:
- http://autobuild.buildroot.org/results/6cf323229f32967aa554418410dc94b7094d09af
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Retrieved from:
https://github.com/LudovicRousseau/PCSC/commit/2153e165c48e541bb5a8b23f81e87db87a9394fd]
---
src/hotplug_generic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotplug_generic.c b/src/hotplug_generic.c
index a0f34646..e4f19935 100644
--- a/src/hotplug_generic.c
+++ b/src/hotplug_generic.c
@@ -48,7 +48,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define FALSE 0
#endif
-#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(__linux__) && !defined(HAVE_LIBUDEV)
+#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(HAVE_LIBUDEV)
LONG HPSearchHotPluggables(void)
{

View File

@ -1,4 +1,4 @@
# Locally calculated
sha256 9ee3f9b333537562177893559ad4f7b8d5c23ebe828eef53056c02db14049d08 pcsc-lite-1.9.5.tar.bz2
sha256 fdb3fe8f68049019523801909b2a336d0d4ee315edafe363c30d375e3706537a pcsc-lite-1.9.6.tar.bz2
sha256 40d4358bb8dc8d30f5365ae6d999b6f820bbc051b292912482f2e4d0ebd837e1 COPYING
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-3.0.txt

View File

@ -4,14 +4,15 @@
#
################################################################################
PCSC_LITE_VERSION = 1.9.5
PCSC_LITE_VERSION = 1.9.6
PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2
PCSC_LITE_SITE = https://pcsclite.apdu.fr/files
PCSC_LITE_INSTALL_STAGING = YES
PCSC_LITE_DEPENDENCIES = host-pkgconf
PCSC_LITE_DEPENDENCIES = host-pkgconf host-flex
PCSC_LITE_LICENSE = BSD-2-Clause (auth), BSD-3-Clause, GPL-3.0+ (demo, spy, tests), ISC (simclist)
PCSC_LITE_LICENSE_FILES = COPYING GPL-3.0.txt
PCSC_LITE_SELINUX_MODULES = pcscd
PCSC_LITE_CONF_OPTS = --disable-strict
# - libudev and libusb are optional
# - libudev and libusb can't be used together