aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-06-05 19:26:36 +0800
committermiwi <miwi@FreeBSD.org>2010-06-05 19:26:36 +0800
commitbfd4b0b29b01deeb9ecaf59f12a4845fed7a341d (patch)
treeb84c63054c89c2e8ae5dcf86e52ed095228256c6 /comms
parent3b91d086b854fc8138cbbb037eb04f8dfba4dd15 (diff)
downloadfreebsd-ports-gnome-bfd4b0b29b01deeb9ecaf59f12a4845fed7a341d.tar.gz
freebsd-ports-gnome-bfd4b0b29b01deeb9ecaf59f12a4845fed7a341d.tar.zst
freebsd-ports-gnome-bfd4b0b29b01deeb9ecaf59f12a4845fed7a341d.zip
- Fix build
PR: 147288 Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> Approved by: maintianer
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;