diff options
author | Daniel Engberg <daniel.engberg.lists@pyret.net> | 2017-06-04 00:49:27 +0200 |
---|---|---|
committer | Daniel Engberg <daniel.engberg.lists@pyret.net> | 2017-06-20 09:44:18 +0200 |
commit | f2c5ffed1e0c8cd3e05db0595bc0bcb3c20e70a8 (patch) | |
tree | 26b5a70fdd46b95f30049001b2a1097525d9269e /utils/pcsc-tools/patches | |
parent | 31db48a506187583bd2c370682751b6b9f7cc90b (diff) |
utils/pcsc-tools: Add to repo
Add pcsc-tools to repo
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'utils/pcsc-tools/patches')
-rw-r--r-- | utils/pcsc-tools/patches/001-disable-atr.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/pcsc-tools/patches/001-disable-atr.patch b/utils/pcsc-tools/patches/001-disable-atr.patch new file mode 100644 index 000000000..127f19248 --- /dev/null +++ b/utils/pcsc-tools/patches/001-disable-atr.patch @@ -0,0 +1,17 @@ +Windows (Win32) doesn't support the analyze ATR perl-script and since we +don't want to pull in perl as a dependency add the same workaround here. + +diff --git a/pcsc_scan.c b/pcsc_scan.c +index e1d8942..81344e1 100644 +--- a/pcsc_scan.c ++++ b/pcsc_scan.c +@@ -224,9 +224,7 @@ int main(int argc, char *argv[]) + printf("PC/SC device scanner\n"); + printf("V " PACKAGE_VERSION " (c) 2001-2017, Ludovic Rousseau <ludovic.rousseau@free.fr>\n"); + +-#ifdef WIN32 + analyse_atr = FALSE; +-#endif + + while ((opt = getopt(argc, argv, "Vhns")) != EOF) + { |