[54872] trunk/dports/devel/libusb
snc at macports.org
snc at macports.org
Mon Aug 3 05:28:55 PDT 2009
Revision: 54872
http://trac.macports.org/changeset/54872
Author: snc at macports.org
Date: 2009-08-03 05:28:53 -0700 (Mon, 03 Aug 2009)
Log Message:
-----------
undone that weird wrong-dir update just now ... can anyone doublecheck this is right now?
Added Paths:
-----------
trunk/dports/devel/libusb/Portfile
trunk/dports/devel/libusb/files/
trunk/dports/devel/libusb/files/patch-libusb__os__darwin_usb.c
Removed Paths:
-------------
trunk/dports/devel/libusb/Portfile
trunk/dports/devel/libusb/files/
Deleted: trunk/dports/devel/libusb/Portfile
===================================================================
--- trunk/dports/devel/libusb/Portfile 2009-08-03 12:18:06 UTC (rev 54871)
+++ trunk/dports/devel/libusb/Portfile 2009-08-03 12:28:53 UTC (rev 54872)
@@ -1,31 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name libusb-legacy
-version 0.1.12
-categories devel
-maintainers snc openmaintainer
-description Library providing access to USB devices
-long_description A library originally developed under Linux to give \
- userland programs an API to access to USB hardware.
-homepage http://libusb.org/
-
-platforms darwin
-
-distname libusb-${version}
-master_sites sourceforge:libusb
-checksums md5 caf182cbc7565dac0fd72155919672e6 \
- sha1 599a5168590f66bc6f1f9a299579fd8500614807 \
- rmd160 63848df717e00fff67ab30ba86a85466370d4e8e
-
-patchfiles patch-Makefile.in.diff patch-darwin.c.diff
-
-configure.args --disable-build-docs
-post-configure {
- if {[variant_isset universal]} {
- reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
- }
-}
-
Added: trunk/dports/devel/libusb/Portfile
===================================================================
--- trunk/dports/devel/libusb/Portfile (rev 0)
+++ trunk/dports/devel/libusb/Portfile 2009-08-03 12:28:53 UTC (rev 54872)
@@ -0,0 +1,28 @@
+# $Id$
+
+PortSystem 1.0
+
+name libusb
+version 1.0.2
+categories devel
+
+description library for USB device access
+long_description \
+ library for use by user level applications to \
+ access USB devices regardless of OS
+homepage http://libusb.wiki.sourceforge.net/
+
+platforms darwin
+#license lgpl2.1+
+maintainers wilcoxd.com:rwilcox toby brett
+
+master_sites sourceforge
+checksums md5 dc8865eaff167aabe78e5799762b8067 \
+ sha1 704a964bbdf5173a9eaedba2ccc486184652c2de \
+ rmd160 5756917a3294822b3d6153930daa05fd593af5d6
+
+use_bzip2 yes
+
+patchfiles patch-libusb__os__darwin_usb.c
+
+livecheck.regex ${name}-(\[0-9\]\[^ \]+) released
Property changes on: trunk/dports/devel/libusb/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/libusb/files/patch-libusb__os__darwin_usb.c
===================================================================
--- trunk/dports/devel/libusb/files/patch-libusb__os__darwin_usb.c (rev 0)
+++ trunk/dports/devel/libusb/files/patch-libusb__os__darwin_usb.c 2009-08-03 12:28:53 UTC (rev 54872)
@@ -0,0 +1,30 @@
+--- libusb/os/darwin_usb.c.orig 2009-07-21 14:39:55.000000000 -0700
++++ libusb/os/darwin_usb.c 2009-07-21 14:42:39.000000000 -0700
+@@ -150,7 +150,8 @@
+ io_cf_plugin_ref_t *plugInInterface = NULL;
+ usb_device_t **device;
+ io_service_t usbDevice;
+- long result, score;
++ long result;
++ SInt32 score;
+
+ if (!IOIteratorIsValid (deviceIterator) || !(usbDevice = IOIteratorNext(deviceIterator)))
+ return NULL;
+@@ -278,7 +279,7 @@
+ if (kresult != kIOReturnSuccess) {
+ _usbi_log (ctx, LOG_LEVEL_ERROR, "could not add hotplug event source: %s", darwin_error_str (kresult));
+
+- pthread_exit ((void *)kresult);
++ pthread_exit ((void *)(intptr_t)kresult);
+ }
+
+ /* arm notifiers */
+@@ -767,7 +768,7 @@
+ io_service_t usbInterface = IO_OBJECT_NULL;
+ IOReturn kresult;
+ IOCFPlugInInterface **plugInInterface = NULL;
+- long score;
++ SInt32 score;
+ uint8_t new_config;
+
+ /* current interface */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090803/4e938840/attachment.html>
More information about the macports-changes
mailing list