forked from flathub/org.freedesktop.Sdk.Extension.openjdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
0001-Avoid-requiring-pcsc-development-files-at-runtime.patch
29 lines (23 loc) · 1.34 KB
/
0001-Avoid-requiring-pcsc-development-files-at-runtime.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From c9230ce05d9596df22443d564a03d8de63f137d6 Mon Sep 17 00:00:00 2001
From: Mat Booth <[email protected]>
Date: Mon, 13 Sep 2021 15:44:32 +0100
Subject: [PATCH] Avoid requiring pcsc development files at runtime
JDK should try to use the versioned name of the .so instead of the
unversioned name
---
.../unix/classes/sun/security/smartcardio/PlatformPCSC.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java b/src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java
index 38fa3da9e..12086acac 100644
--- a/src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java
+++ b/src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java
@@ -46,8 +46,8 @@ class PlatformPCSC {
private final static String PROP_NAME = "sun.security.smartcardio.library";
- private final static String LIB1 = "/usr/$LIBISA/libpcsclite.so";
- private final static String LIB2 = "/usr/local/$LIBISA/libpcsclite.so";
+ private final static String LIB1 = "/usr/$LIBISA/libpcsclite.so.1";
+ private final static String LIB2 = "/usr/local/$LIBISA/libpcsclite.so.1";
private final static String PCSC_FRAMEWORK = "/System/Library/Frameworks/PCSC.framework/Versions/Current/PCSC";
PlatformPCSC() {
--
2.31.1