void-packages/srcpkgs/gnupg/patches/0001-use-versioned-pcsclite...

27 lines
844 B
Diff
Raw Normal View History

2022-10-18 19:23:52 +02:00
From 5242588814474653bb0de15ebda3b0c6bb539ff6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Sun, 29 Sep 2019 12:32:46 +0700
2022-10-18 19:23:52 +02:00
Subject: [PATCH] use versioned pcsclite library on musl-libc as well
---
scd/scdaemon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
2022-10-18 19:23:52 +02:00
index e43769f85..97449eff2 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -207,7 +207,7 @@ static struct debug_flags_s debug_flags [] =
#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"
--
2022-10-18 19:23:52 +02:00
2.38.0