summaryrefslogtreecommitdiff
path: root/security/ifd-gpr400/files/patch-gpr400_ifd.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-20 07:00:02 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-20 07:00:02 +0000
commit66a53cafed7bcbc1d7aba346a21e51ce33d1ccab (patch)
treed30882e9bf95f79fb6416897bf81673b00d9f47c /security/ifd-gpr400/files/patch-gpr400_ifd.c
parentNew port: devel/ifd-test: PC/SC Lite IFD Test Suite (diff)
New port: security/ifd-gpr400: PC/SC Lite IFD for Gemplus GPR400
This is the user-space IFD driver to support the Gemplus GPR400 PCMCIA Smart Card Reader under PC/SC Lite. PR: ports/42697 Submitted by: Bruce M Simpson <bms@spc.org>
Notes
Notes: svn path=/head/; revision=73622
Diffstat (limited to 'security/ifd-gpr400/files/patch-gpr400_ifd.c')
-rw-r--r--security/ifd-gpr400/files/patch-gpr400_ifd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/ifd-gpr400/files/patch-gpr400_ifd.c b/security/ifd-gpr400/files/patch-gpr400_ifd.c
new file mode 100644
index 000000000000..ff08a8b8f152
--- /dev/null
+++ b/security/ifd-gpr400/files/patch-gpr400_ifd.c
@@ -0,0 +1,11 @@
+--- gpr400_ifd.c.orig Wed Aug 22 03:21:43 2001
++++ gpr400_ifd.c Sun Sep 8 18:10:47 2002
+@@ -77,7 +77,7 @@
+ printf("IFDHCreateChannel:\n");
+ #endif
+ if(gpr_fd < 0){
+- gpr_fd= open("/dev/gpr400", O_RDWR);
++ gpr_fd= open(GPRDEVNAME, O_RDWR);
+ if(gpr_fd < 0){
+ return IFD_COMMUNICATION_ERROR;
+ }