Fix patch.diff -r1.22 -r1.23 pkgsrc/devel/libusb/distinfo
(jperkin)
@@ -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 | |||
3 | SHA1 (libusb-0.1.12.tar.gz) = 599a5168590f66bc6f1f9a299579fd8500614807 | 3 | SHA1 (libusb-0.1.12.tar.gz) = 599a5168590f66bc6f1f9a299579fd8500614807 | |
4 | RMD160 (libusb-0.1.12.tar.gz) = 63848df717e00fff67ab30ba86a85466370d4e8e | 4 | RMD160 (libusb-0.1.12.tar.gz) = 63848df717e00fff67ab30ba86a85466370d4e8e | |
5 | Size (libusb-0.1.12.tar.gz) = 389343 bytes | 5 | Size (libusb-0.1.12.tar.gz) = 389343 bytes | |
6 | SHA1 (patch-aa) = 1da6c46e8b41d7846032922bbef8a0b5eb1ae68b | 6 | SHA1 (patch-aa) = 1da6c46e8b41d7846032922bbef8a0b5eb1ae68b | |
7 | SHA1 (patch-ab) = bc4756536ce7b2cc49d0c7c48c249f146f185839 | 7 | SHA1 (patch-ab) = bc4756536ce7b2cc49d0c7c48c249f146f185839 | |
8 | SHA1 (patch-ac) = cc92318e0979779f6ef03ee653bc94ee2b96a055 | 8 | SHA1 (patch-ac) = cc92318e0979779f6ef03ee653bc94ee2b96a055 | |
9 | SHA1 (patch-ad) = f81135a5f92bf0c2e1ca921368bd39482bd3b580 | 9 | SHA1 (patch-ad) = f81135a5f92bf0c2e1ca921368bd39482bd3b580 | |
10 | SHA1 (patch-ae) = 49a01ebe66de4965f3611cf42db09703aa68c415 | 10 | SHA1 (patch-ae) = 49a01ebe66de4965f3611cf42db09703aa68c415 | |
11 | SHA1 (patch-af) = e46e576a589fb65488011a41df95f744230c0c6c | 11 | SHA1 (patch-af) = e46e576a589fb65488011a41df95f744230c0c6c | |
12 | SHA1 (patch-darwin.c) = 1311114a333045058b8624282b1c0a31a1c557a0 | 12 | SHA1 (patch-darwin.c) = 5547ee8fdbddb07911a65ac1fcc69459c54711cf |
@@ -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 | |||
3 | Fix format type. | 3 | Fix 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) { |