0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 06:59:51 +00:00
packages/utils/pcsc-tools/patches/001-disable-atr.patch
Daniel Golle 2b05e3cfc6 pcsc-tools: update to version 1.7.0
See https://pcsc-tools.apdu.fr/Changelog for details.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-20 05:43:15 +00:00

24 lines
586 B
Diff

Disable the analyze ATR perl-script and as we don't want to pull in perl
as a dependency.
--- a/pcsc_scan.c
+++ b/pcsc_scan.c
@@ -283,7 +283,7 @@ static void initialize_options(options_t
{
options->pname = pname;
#if defined(ATR_PARSER)
- options->analyse_atr = true;
+ options->analyse_atr = false;
#else
options->analyse_atr = false;
#define ATR_PARSER ""
@@ -302,7 +302,7 @@ static void initialize_options(options_t
#ifdef WIN32
#define OPTIONS OPTIONS_BASE
#else
-#define OPTIONS OPTIONS_BASE "n"
+#define OPTIONS OPTIONS_BASE
#endif
static void print_version(void)