diff options
author | ale <ale@FreeBSD.org> | 2006-10-07 08:02:55 +0000 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-10-07 08:02:55 +0000 |
commit | 0b38bf484f42664af59c7cd857745a32b81af9c1 (patch) | |
tree | 48d1f380158d08e6e2fee37b4e40c7ca758d5582 /security/openct | |
parent | a90802143a4bf1cf13f6123c919857801c9505eb (diff) | |
download | FreeBSD-ports-0b38bf484f42664af59c7cd857745a32b81af9c1.zip FreeBSD-ports-0b38bf484f42664af59c7cd857745a32b81af9c1.tar.gz |
Try to fix on 4.X.
Diffstat (limited to 'security/openct')
-rw-r--r-- | security/openct/files/patch-src_ifd_ifd-wbeiuu.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/openct/files/patch-src_ifd_ifd-wbeiuu.c b/security/openct/files/patch-src_ifd_ifd-wbeiuu.c new file mode 100644 index 0000000..cb9ec04 --- /dev/null +++ b/security/openct/files/patch-src_ifd_ifd-wbeiuu.c @@ -0,0 +1,18 @@ +--- src/ifd/ifd-wbeiuu.c.orig Sat Oct 7 09:55:18 2006 ++++ src/ifd/ifd-wbeiuu.c Sat Oct 7 09:57:25 2006 +@@ -454,6 +454,7 @@ + { + int status; + unsigned char buf[256]; ++ unsigned char len; + ifd_device_t *dev; + + ifd_debug(1, "%s:%d wbeiuu_card_reset()", __FILE__, __LINE__); +@@ -504,7 +505,6 @@ + return -1; + } + //unsigned char len[1] = { 0x00 }; +- unsigned char len; + ifd_debug(1, "%s:%d How many bytes waiting at the FIFO?", __FILE__, + __LINE__, status); + status = ifd_sysdep_usb_bulk(dev, 0x82, &len, 1, USB_TIMEOUT); |