Remove the support for more than 16 readers causing issues with flatpak (#2054826)

This commit is contained in:
Jakub Jelen 2022-11-01 16:21:28 +01:00
parent 55b5f4cf92
commit 53156a4997
2 changed files with 0 additions and 14 deletions

View File

@ -1,12 +0,0 @@
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

View File

@ -12,7 +12,6 @@ Source0: https://ccid.apdu.fr/files/ccid-%{version}.tar.bz2
Source1: https://ccid.apdu.fr/files/ccid-%{version}.tar.bz2.asc Source1: https://ccid.apdu.fr/files/ccid-%{version}.tar.bz2.asc
Source2: gpgkey-F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E.gpg Source2: gpgkey-F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E.gpg
Patch0: ccid-1.4.26-omnikey-3121.patch Patch0: ccid-1.4.26-omnikey-3121.patch
Patch1: ccid-1.4.34-maxreaders.patch
BuildRequires: make BuildRequires: make
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
@ -39,7 +38,6 @@ PC/SC Lite daemon.
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%setup -q -n ccid-%{version} %setup -q -n ccid-%{version}
%patch0 -p1 -b .omnikey %patch0 -p1 -b .omnikey
%patch1 -p0 -b .maxreaders
%build %build
%configure --enable-twinserial %configure --enable-twinserial