diff --git a/SOURCES/pcsc-lite-1.8.8-maxreaders.patch b/SOURCES/pcsc-lite-1.8.8-maxreaders.patch new file mode 100644 index 0000000..1560549 --- /dev/null +++ b/SOURCES/pcsc-lite-1.8.8-maxreaders.patch @@ -0,0 +1,12 @@ +diff -up ./src/PCSC/pcsclite.h.maxreaders ./src/PCSC/pcsclite.h +--- ./src/PCSC/pcsclite.h.maxreaders 2015-07-06 15:35:41.649580066 -0700 ++++ ./src/PCSC/pcsclite.h 2015-07-06 15:35:51.167402468 -0700 +@@ -192,7 +192,7 @@ extern const SCARD_IO_REQUEST g_rgSCardT + + #define PCSCLITE_VERSION_NUMBER "1.8.8" /**< Current version */ + /** Maximum readers context (a slot is count as a reader) */ +-#define PCSCLITE_MAX_READERS_CONTEXTS 16 ++#define PCSCLITE_MAX_READERS_CONTEXTS 32 + + #define MAX_READERNAME 128 + diff --git a/SPECS/pcsc-lite.spec b/SPECS/pcsc-lite.spec index efdada2..0b818b7 100644 --- a/SPECS/pcsc-lite.spec +++ b/SPECS/pcsc-lite.spec @@ -2,7 +2,7 @@ Name: pcsc-lite Version: 1.8.8 -Release: 5%{?dist} +Release: 6%{?dist} Summary: PC/SC Lite smart card framework and applications Group: System Environment/Daemons @@ -10,6 +10,7 @@ License: BSD URL: http://pcsclite.alioth.debian.org/ Source0: http://alioth.debian.org/download.php/%{upstream_build}/%{name}-%{version}.tar.bz2 Patch1: pcsc-lite-1.8.8-man-update.patch +Patch2: pcsc-lite-1.8.8-maxreaders.patch BuildRequires: doxygen BuildRequires: graphviz @@ -59,6 +60,7 @@ Requires: %{name}-libs = %{version}-%{release} %prep %setup -q %patch1 -p 0 -b .man-update +%patch2 -p 0 -b .maxreaders # Convert to utf-8 for file in ChangeLog; do @@ -135,6 +137,9 @@ rm $RPM_BUILD_ROOT%{_docdir}/pcsc-lite/README.DAEMON %changelog +* Mon Jul 6 2015 Robert Relyea - 1.8.8-6 +- Increase the number of supported readers + * Wed Sep 24 2014 Robert Relyea - 1.8.8-5 - Update Man page