Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 00:52:57 GMT
From:      "Pedro F. Giffuni" <giffunip@asme.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/94428: update devel/libusb to version 0.1.12
Message-ID:  <200603140052.k2E0qvP2073849@www.freebsd.org>
Resent-Message-ID: <200603140100.k2E10WxP016178@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94428
>Category:       ports
>Synopsis:       update devel/libusb to version 0.1.12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 14 01:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.0-Release
>Organization:
>Environment:
FreeBSD etoile.cable.net.co 6.0-RELEASE FreeBSD 6.0-RELEASE #12: Sat Feb 11 13:45:47 COT 2006     root@etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION  amd64
>Description:
New version of devel/libusb is out. It seems like they have cleaned up the issues that our patches solve. I sent a copy of my changes to the port maintainer anyways.
>How-To-Repeat:

>Fix:
diff -ruN libusb.orig/Makefile libusb/Makefile
--- libusb.orig/Makefile	Thu Feb 23 05:36:04 2006
+++ libusb/Makefile	Mon Mar 13 16:02:05 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libusb
-PORTVERSION=	0.1.10a
-PORTREVISION=	2
+PORTVERSION=	0.1.12
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
diff -ruN libusb.orig/distinfo libusb/distinfo
--- libusb.orig/distinfo	Sun Jan 22 03:28:28 2006
+++ libusb/distinfo	Mon Mar 13 16:02:36 2006
@@ -1,3 +1,3 @@
-MD5 (libusb-0.1.10a.tar.gz) = c6062b29acd2cef414bcc34e0decbdd1
-SHA256 (libusb-0.1.10a.tar.gz) = 2f0ed0261074beaa6e060f9539c54017a3f3b4d2b272311e6cf60ba09c4aeadc
-SIZE (libusb-0.1.10a.tar.gz) = 375144
+MD5 (libusb-0.1.12.tar.gz) = caf182cbc7565dac0fd72155919672e6
+SHA256 (libusb-0.1.12.tar.gz) = 37f6f7d9de74196eb5fc0bbe0aea9b5c939de7f500acba3af6fd643f3b538b44
+SIZE (libusb-0.1.12.tar.gz) = 389343
diff -ruN libusb.orig/files/patch-bsd.c libusb/files/patch-bsd.c
--- libusb.orig/files/patch-bsd.c	Fri Oct 28 04:36:19 2005
+++ libusb/files/patch-bsd.c	Wed Dec 31 19:00:00 1969
@@ -1,11 +0,0 @@
---- bsd.c.orig	Wed Feb 18 07:34:52 2004
-+++ bsd.c	Thu Jun 16 22:08:00 2005
-@@ -457,7 +457,7 @@
-   USETW(req.ucr_request.wLength, size);
- 
-   req.ucr_data = bytes;
--  req.ucr_flags = 0;
-+  req.ucr_flags = USBD_SHORT_XFER_OK;
- 
-   ret = ioctl(dev->fd, USB_SET_TIMEOUT, &timeout);
- #if (__NetBSD__ || __OpenBSD__)
diff -ruN libusb.orig/files/patch-configure libusb/files/patch-configure
--- libusb.orig/files/patch-configure	Wed Apr 13 05:22:20 2005
+++ libusb/files/patch-configure	Wed Dec 31 19:00:00 1969
@@ -1,19 +0,0 @@
---- configure.orig	Fri Feb 25 23:04:35 2005
-+++ configure	Fri Feb 25 23:05:03 2005
-@@ -21635,16 +21635,10 @@
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h.  */
- #include <dev/usb/usb.h>
--int
--main ()
--{
- int main(void)
-      {
-        int a = ((struct usb_ctl_request *)0L)->ucr_addr;
-        return 0;
-      }
--  ;
--  return 0;
--}
- _ACEOF
- rm -f conftest.$ac_objext
diff -ruN libusb.orig/files/patch-tests_descriptor__test.cpp libusb/files/patch-tests_descriptor__test.cpp
--- libusb.orig/files/patch-tests_descriptor__test.cpp	Wed Jun 29 05:48:56 2005
+++ libusb/files/patch-tests_descriptor__test.cpp	Wed Dec 31 19:00:00 1969
@@ -1,17 +0,0 @@
-
-$FreeBSD: ports/devel/libusb/files/patch-tests_descriptor__test.cpp,v 1.1 2005/06/29 10:48:56 vs Exp $
-
---- tests/descriptor_test.cpp.orig
-+++ tests/descriptor_test.cpp
-@@ -34,9 +34,9 @@
- 
- 			cout << bus->directoryName() << "/" 
- 				 << device->fileName() << "     "
--				 << uppercase << hex << setw(4) << setfill('0')
-+				 << hex << setw(4) << setfill('0')
- 				 << device->idVendor() << "/"
--				 << uppercase << hex << setw(4) << setfill('0')
-+				 << hex << setw(4) << setfill('0')
- 				 << device->idProduct() << endl;
- 			if (device->Vendor() != "") {
- 				cout << "- Manufacturer : " << device->Vendor() << endl;
diff -ruN libusb.orig/files/patch-usbpp.cpp libusb/files/patch-usbpp.cpp
--- libusb.orig/files/patch-usbpp.cpp	Wed Jun 29 05:48:56 2005
+++ libusb/files/patch-usbpp.cpp	Wed Dec 31 19:00:00 1969
@@ -1,13 +0,0 @@
-
-$FreeBSD: ports/devel/libusb/files/patch-usbpp.cpp,v 1.1 2005/06/29 10:48:56 vs Exp $
-
---- usbpp.cpp.orig
-+++ usbpp.cpp
-@@ -9,6 +9,7 @@
- 
- #include <errno.h>
- #include <cstdlib>
-+#include <cstdio>
- 
- //remove after debugging
- #include <iostream>

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603140052.k2E0qvP2073849>