Increase the maximum number of readers
Resolves: rhbz#1975424
This commit is contained in:
parent
50bde2a414
commit
06df9e30b2
12
ccid-1.4.34-maxreaders.patch
Normal file
12
ccid-1.4.34-maxreaders.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up ./src/ccid_ifdhandler.h.readers_32 ./src/ccid_ifdhandler.h
|
||||
--- ./src/ccid_ifdhandler.h.readers_32 2018-08-20 16:06:34.080905748 -0700
|
||||
+++ ./src/ccid_ifdhandler.h 2018-08-20 16:07:04.638097096 -0700
|
||||
@@ -47,7 +47,7 @@ extern int DriverOptions;
|
||||
* The maximum number of readers is also limited in pcsc-lite (16 by default)
|
||||
* see the definition of PCSCLITE_MAX_READERS_CONTEXTS in src/PCSC/pcsclite.h
|
||||
*/
|
||||
-#define CCID_DRIVER_MAX_READERS 16
|
||||
+#define CCID_DRIVER_MAX_READERS 48
|
||||
|
||||
/*
|
||||
* CCID driver specific functions
|
@ -12,6 +12,7 @@ Source0: https://ccid.apdu.fr/files/ccid-%{version}.tar.bz2
|
||||
Source1: https://ccid.apdu.fr/files/ccid-%{version}.tar.bz2.asc
|
||||
Source2: gpgkey-F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E.gpg
|
||||
Patch0: ccid-1.4.26-omnikey-3121.patch
|
||||
Patch1: ccid-1.4.34-maxreaders.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
@ -38,6 +39,7 @@ PC/SC Lite daemon.
|
||||
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||
%setup -q -n ccid-%{version}
|
||||
%patch0 -p1 -b .omnikey
|
||||
%patch1 -p0 -b .maxreaders
|
||||
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user