void-packages/srcpkgs/gnupg/patches/use-versioned-pcsclite.patch
Đoàn Trần Công Danh a590aeea93 gnupg: update to 2.2.28
2021-07-22 21:30:59 +07:00

11 lines
435 B
Diff

--- a/scd/scdaemon.c 2019-09-29 12:18:47.810111976 +0700
+++ b/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"