summaryrefslogtreecommitdiff
path: root/office/gnokii/gnokii-0.6.29-pcsc.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-04-01 23:42:58 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-04-03 09:34:01 -0500
commitfa47ca4e68e1e933028ce8ccccbf0e1346f84b50 (patch)
tree4bc82a0be992b8aa0a67519fdec9805bd62ca9cc /office/gnokii/gnokii-0.6.29-pcsc.patch
parent39ffc89b3227890e49a8e62811bdafab72f3fd7c (diff)
downloadslackbuilds-fa47ca4e68e1e933028ce8ccccbf0e1346f84b50.tar.gz
office/gnokii: Fixed download link and added pcsc-lite 1.6.x patch.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/gnokii/gnokii-0.6.29-pcsc.patch')
-rw-r--r--office/gnokii/gnokii-0.6.29-pcsc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/office/gnokii/gnokii-0.6.29-pcsc.patch b/office/gnokii/gnokii-0.6.29-pcsc.patch
new file mode 100644
index 0000000000..539c208f5a
--- /dev/null
+++ b/office/gnokii/gnokii-0.6.29-pcsc.patch
@@ -0,0 +1,14 @@
+diff -rupN gnokii-0.6.29.orig/common/phones/pcsc.c gnokii-0.6.29new/common/phones/pcsc.c
+--- gnokii-0.6.29.orig/common/phones/pcsc.c 2010-07-29 08:38:28.000000000 +1000
++++ gnokii-0.6.29/common/phones/pcsc.c 2010-07-29 08:51:29.000000000 +1000
+@@ -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: