From 0b38bf484f42664af59c7cd857745a32b81af9c1 Mon Sep 17 00:00:00 2001 From: ale Date: Sat, 7 Oct 2006 08:02:55 +0000 Subject: Try to fix on 4.X. --- security/cryptlib/Makefile | 1 + security/openct/files/patch-src_ifd_ifd-wbeiuu.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 security/openct/files/patch-src_ifd_ifd-wbeiuu.c (limited to 'security') diff --git a/security/cryptlib/Makefile b/security/cryptlib/Makefile index dd35a77502aa..727411058ba2 100644 --- a/security/cryptlib/Makefile +++ b/security/cryptlib/Makefile @@ -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 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 000000000000..cb9ec044f58f --- /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); -- cgit