new patch for compiling libusb: disable the use of -Werror since the compilation generates warnings (when compiled on Snow Leopard 64-bits) /tmp/libusb/Sources/libusb/darwin.c: In function ?\226?\128?\152usb_get_next_device?\226?\128?\153: /tmp/libusb/Sources/libusb/darwin.c:264: warning: passing argument 5 of ?\226?\128?\152IOCreatePlugInInterfaceForService?\226?\128?\153 from incompatible pointer type /tmp/libusb/Sources/libusb/darwin.c: In function ?\226?\128?\152claim_interface?\226?\128?\153: /tmp/libusb/Sources/libusb/darwin.c:567: warning: passing argument 5 of ?\226?\128?\152IOCreatePlugInInterfaceForService?\226?\128?\153 from incompatible pointer type /tmp/libusb/Sources/libusb/darwin.c: In function ?\226?\128?\152usb_os_find_devices?\226?\128?\153: /tmp/libusb/Sources/libusb/darwin.c:1137: warning: format ?\226?\128?\152%08lx?\226?\128?\153 expects type ?\226?\128?\152long unsigned int?\226?\128?\153, but argument 3 has type ?\226?\128?\152UInt32?\226?\128?\153 /tmp/libusb/Sources/libusb/darwin.c:1137: warning: format ?\226?\128?\152%08lx?\226?\128?\153 expects type ?\226?\128?\152long unsigned int?\226?\128?\153, but argument 4 has type ?\226?\128?\152UInt32?\226?\128?\153 /tmp/libusb/Sources/libusb/darwin.c:1189: warning: format ?\226?\128?\152%08lx?\226?\128?\153 expects type ?\226?\128?\152long unsigned int?\226?\128?\153, but argument 5 has type ?\226?\128?\152UInt32?\226?\128?\153
--- trunk/SmartcardCCID/libusb/Makefile 2010-01-11 13:58:32 UTC (rev 99)
+++ trunk/SmartcardCCID/libusb/Makefile 2010-01-12 14:20:07 UTC (rev 100)
@@ -14,7 +14,7 @@
AEP_ProjVers = $(AEP_Project)-$(AEP_Version)
AEP_Filename = $(AEP_ProjVers).tar.gz
AEP_ExtractDir = $(AEP_ProjVers)
-AEP_Patches = FixConfigureAddCPP.patch skipConfigure.patch #configure.diff gcc42.diff
+AEP_Patches = FixConfigureAddCPP.patch skipConfigure.patch WithoutWerror.patch #configure.diff gcc42.diff
#svn co -r658 https://libusb.svn.sourceforge.net/svnroot/libusb/trunk
# Extract the source.
--- trunk/SmartcardCCID/libusb/files/WithoutWerror.patch (rev 0)
+++ trunk/SmartcardCCID/libusb/files/WithoutWerror.patch 2010-01-12 14:20:07 UTC (rev 100)
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2008-07-23 20:41:33.000000000 +0200
++++ Makefile.am 2010-01-12 15:15:03.000000000 +0100
+@@ -6,7 +6,7 @@
+
+ SUBDIRS = . tests doc
+
+-AM_CFLAGS = -Werror
++AM_CFLAGS =
+
+ configincludedir = $(pkglibdir)/include
+