Skip to contentSkip to conversation

package/pcsc-lite: bump to version 1.9.6

PATCH In review Fabrice Fontaine 2 participants 2 messages May 11, 2022 – May 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pcsc-lite: bump to version 1.9.6

- host-flex is mandatory since
https://github.com/LudovicRousseau/PCSC/commit/3f89340785934785cf1490d3e788eefb25c50a69
- Set --disable-strict to remove -Werror which was added with
https://github.com/LudovicRousseau/PCSC/commit/9124a59d8f1a8536f0b46f5ef2a1b4a1711f96b2
- Drop patch (already in version)

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

---
 ...ric.c-fix-build-without-lib-udev-usb.patch | 35 -------------------
 package/pcsc-lite/pcsc-lite.hash              |  2 +-
 package/pcsc-lite/pcsc-lite.mk                |  5 +--
 3 files changed, 4 insertions(+), 38 deletions(-)
 delete mode 100644 package/pcsc-lite/0001-src-hotplug_generic.c-fix-build-without-lib-udev-usb.patch
package/pcsc-lite/0001-src-hotplug_generic.c-fix-build-without-lib-udev-usb.patch deleted +0 -35
deleted file mode 100644
index 7e93bf5fce..0000000000
@@ -1,35 +0,0 @@
-From 2153e165c48e541bb5a8b23f81e87db87a9394fd Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-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 <[email protected]>
-[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)
- {
package/pcsc-lite/pcsc-lite.hash +1 -1
index 4844606c59..10a8d92fa7 100644
@@ -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
package/pcsc-lite/pcsc-lite.mk +3 -2
index a7db105987..a5ff074b2c 100644
@@ -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
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

- host-flex is mandatory since
https://github.com/LudovicRousseau/PCSC/commit/3f89340785934785cf1490d3e788eefb25c50a69
- Set --disable-strict to remove -Werror which was added with
https://github.com/LudovicRousseau/PCSC/commit/9124a59d8f1a8536f0b46f5ef2a1b4a1711f96b2
- Drop patch (already in version)

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

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot