openwrt-packages/utils/pcsc-tools/patches/001-disable-atr.patch

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)