gnupg2-scdaemon: use versioned pcsclite library

Fix: #14808
This commit is contained in:
Doan Tran Cong Danh 2019-09-29 12:32:46 +07:00 committed by Helmut Pozimski
parent f92285ef87
commit 2119fe6c00
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- scd/scdaemon.c.orig 2019-09-29 12:18:47.810111976 +0700
+++ scd/scdaemon.c 2019-09-29 12:20:38.079117234 +0700
@@ -189,7 +189,7 @@
#define DEFAULT_PCSC_DRIVER "winscard.dll"
#elif defined(__APPLE__)
#define DEFAULT_PCSC_DRIVER "/System/Library/Frameworks/PCSC.framework/PCSC"
-#elif defined(__GLIBC__)
+#elif defined(__linux__)
#define DEFAULT_PCSC_DRIVER "libpcsclite.so.1"
#else
#define DEFAULT_PCSC_DRIVER "libpcsclite.so"

View file

@ -1,7 +1,7 @@
# Template file for 'gnupg2'
pkgname=gnupg2
version=2.2.17
revision=2
revision=3
wrksrc="gnupg-${version}"
build_style=gnu-configure
configure_args="--with-libgcrypt-prefix=${XBPS_CROSS_BASE}