From 99aadc04dd6db463332a33f02d6d553b1f337d6b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 9 Nov 2022 14:22:26 +0100 Subject: [PATCH] d/patches: add 256slots.patch --- debian/patches/256slots.patch | 11 +++++++++++ debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 debian/patches/256slots.patch diff --git a/debian/patches/256slots.patch b/debian/patches/256slots.patch new file mode 100644 index 0000000..b044f13 --- /dev/null +++ b/debian/patches/256slots.patch @@ -0,0 +1,11 @@ +--- a/src/PCSC/pcsclite.h.in ++++ b/src/PCSC/pcsclite.h.in +@@ -281,7 +281,7 @@ extern const SCARD_IO_REQUEST g_rgSCardT + + #define PCSCLITE_VERSION_NUMBER "@VERSION@" /**< Current version */ + /** Maximum readers context (a slot is count as a reader) */ +-#define PCSCLITE_MAX_READERS_CONTEXTS 16 ++#define PCSCLITE_MAX_READERS_CONTEXTS 256 + + #define MAX_READERNAME 128 + diff --git a/debian/patches/series b/debian/patches/series index e69de29..a240b66 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -0,0 +1 @@ +256slots.patch