1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Try to fix on 4.X.

This commit is contained in:
Alex Dupre 2006-10-07 08:02:55 +00:00
parent 5b5d658096
commit bc198cbb74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174715
2 changed files with 19 additions and 0 deletions

View File

@ -26,6 +26,7 @@ NO_WRKSUBDIR= yes
USE_GMAKE= yes
MAKEFILE= makefile
ALL_TARGET= default FreeBSD shared
USE_GCC= 3.2+
USE_LDCONFIG= yes
PORTDOCS= README

View File

@ -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);