aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-06-05 11:26:36 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-06-05 11:26:36 +0000
commitb18508c9708777cea1b077f11c61b896e852ddef (patch)
tree7a98bd7c6fd69ca4fcc95cb39ea3289f45acd2a3 /comms
parent18d8e17911ba51d20ac3a3d9de0bebcaf85a0ebc (diff)
downloadports-b18508c9708777cea1b077f11c61b896e852ddef.tar.gz
ports-b18508c9708777cea1b077f11c61b896e852ddef.zip
- Fix build
PR: 147288 Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> Approved by: maintianer
Notes
Notes: svn path=/head/; revision=255769
Diffstat (limited to 'comms')
-rw-r--r--comms/gnokii/files/patch-common-phones-pcsc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/comms/gnokii/files/patch-common-phones-pcsc.c b/comms/gnokii/files/patch-common-phones-pcsc.c
new file mode 100644
index 000000000000..8da34877ae2e
--- /dev/null
+++ b/comms/gnokii/files/patch-common-phones-pcsc.c
@@ -0,0 +1,12 @@
+--- common/phones/pcsc.c.orig 2010-06-04 15:08:13.000466080 +0200
++++ common/phones/pcsc.c 2010-06-04 15:15:44.926057193 +0200
+@@ -199,7 +199,9 @@
+ case SCARD_W_UNPOWERED_CARD:
+ case SCARD_W_RESET_CARD:
+ case SCARD_W_REMOVED_CARD:
++/* removed from pcsc-lite
+ case SCARD_W_INSERTED_CARD:
++*/
+ return GN_ERR_SIMPROBLEM;
+ case SCARD_E_NO_MEMORY:
+ return GN_ERR_MEMORYFULL;