Wed Dec 11 12:34:02 2013 UTC ()
Fix patch.


(jperkin)
diff -r1.22 -r1.23 pkgsrc/devel/libusb/distinfo
diff -r1.1 -r1.2 pkgsrc/devel/libusb/patches/patch-darwin.c

cvs diff -r1.22 -r1.23 pkgsrc/devel/libusb/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/libusb/distinfo 2013/12/10 13:51:55 1.22
+++ pkgsrc/devel/libusb/distinfo 2013/12/11 12:34:02 1.23
@@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
1$NetBSD: distinfo,v 1.22 2013/12/10 13:51:55 jperkin Exp $ 1$NetBSD: distinfo,v 1.23 2013/12/11 12:34:02 jperkin Exp $
2 2
3SHA1 (libusb-0.1.12.tar.gz) = 599a5168590f66bc6f1f9a299579fd8500614807 3SHA1 (libusb-0.1.12.tar.gz) = 599a5168590f66bc6f1f9a299579fd8500614807
4RMD160 (libusb-0.1.12.tar.gz) = 63848df717e00fff67ab30ba86a85466370d4e8e 4RMD160 (libusb-0.1.12.tar.gz) = 63848df717e00fff67ab30ba86a85466370d4e8e
5Size (libusb-0.1.12.tar.gz) = 389343 bytes 5Size (libusb-0.1.12.tar.gz) = 389343 bytes
6SHA1 (patch-aa) = 1da6c46e8b41d7846032922bbef8a0b5eb1ae68b 6SHA1 (patch-aa) = 1da6c46e8b41d7846032922bbef8a0b5eb1ae68b
7SHA1 (patch-ab) = bc4756536ce7b2cc49d0c7c48c249f146f185839 7SHA1 (patch-ab) = bc4756536ce7b2cc49d0c7c48c249f146f185839
8SHA1 (patch-ac) = cc92318e0979779f6ef03ee653bc94ee2b96a055 8SHA1 (patch-ac) = cc92318e0979779f6ef03ee653bc94ee2b96a055
9SHA1 (patch-ad) = f81135a5f92bf0c2e1ca921368bd39482bd3b580 9SHA1 (patch-ad) = f81135a5f92bf0c2e1ca921368bd39482bd3b580
10SHA1 (patch-ae) = 49a01ebe66de4965f3611cf42db09703aa68c415 10SHA1 (patch-ae) = 49a01ebe66de4965f3611cf42db09703aa68c415
11SHA1 (patch-af) = e46e576a589fb65488011a41df95f744230c0c6c 11SHA1 (patch-af) = e46e576a589fb65488011a41df95f744230c0c6c
12SHA1 (patch-darwin.c) = 1311114a333045058b8624282b1c0a31a1c557a0 12SHA1 (patch-darwin.c) = 5547ee8fdbddb07911a65ac1fcc69459c54711cf

cvs diff -r1.1 -r1.2 pkgsrc/devel/libusb/patches/patch-darwin.c (expand / switch to unified diff)

--- pkgsrc/devel/libusb/patches/patch-darwin.c 2013/12/10 13:51:55 1.1
+++ pkgsrc/devel/libusb/patches/patch-darwin.c 2013/12/11 12:34:02 1.2
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-darwin.c,v 1.1 2013/12/10 13:51:55 jperkin Exp $ 1$NetBSD: patch-darwin.c,v 1.2 2013/12/11 12:34:02 jperkin Exp $
2 2
3Fix format type. 3Fix format type.
4 4
5--- darwin.c.orig 2006-03-04 02:52:46.000000000 +0000 5--- darwin.c.orig 2013-12-11 12:31:51.000000000 +0000
6+++ darwin.c 6+++ darwin.c
7@@ -1064,7 +1064,7 @@ int usb_os_find_devices(struct usb_bus * 7@@ -1064,7 +1064,7 @@ int usb_os_find_devices(struct usb_bus *
8 result = (*(device))->GetDeviceAddress(device, (USBDeviceAddress *)&address); 8 result = (*(device))->GetDeviceAddress(device, (USBDeviceAddress *)&address);
9  9
10 if (usb_debug >= 2) 10 if (usb_debug >= 2)
11- fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08lx\n", location); 11- fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08x\n", location);
12+ fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08x\n", (unsigned int)location); 12+ fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08x\n", (unsigned int)location);
13  13
14 /* first byte of location appears to be associated with the device's bus */ 14 /* first byte of location appears to be associated with the device's bus */
15 if (location >> 24 == bus_loc >> 24) { 15 if (location >> 24 == bus_loc >> 24) {