summaryrefslogtreecommitdiff
path: root/app-mobilephone/gnokii/files/gnokii-0.6.29-pcsc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone/gnokii/files/gnokii-0.6.29-pcsc.patch')
-rw-r--r--app-mobilephone/gnokii/files/gnokii-0.6.29-pcsc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.29-pcsc.patch b/app-mobilephone/gnokii/files/gnokii-0.6.29-pcsc.patch
new file mode 100644
index 00000000000..fb1c974483d
--- /dev/null
+++ b/app-mobilephone/gnokii/files/gnokii-0.6.29-pcsc.patch
@@ -0,0 +1,13 @@
+--- a/common/phones/pcsc.c
++++ b/common/phones/pcsc.c
+@@ -199,8 +199,8 @@ static gn_error get_gn_error(PCSC_IOSTRU
+ case SCARD_W_UNPOWERED_CARD:
+ case SCARD_W_RESET_CARD:
+ case SCARD_W_REMOVED_CARD:
+- case SCARD_W_INSERTED_CARD:
+- return GN_ERR_SIMPROBLEM;
++ /* removed in pscc case SCARD_W_INSERTED_CARD:
++ return GN_ERR_SIMPROBLEM; */
+ case SCARD_E_NO_MEMORY:
+ return GN_ERR_MEMORYFULL;
+ case SCARD_F_WAITED_TOO_LONG: