Date: Wed, 5 Apr 2006 19:42:07 +0200 (CEST) From: <pfgshield-freebsd@yahoo.com> To: Alexander Konovalenko <kono@kth.se>, freebsd-ports@freebsd.org Subject: Re: [gphoto-devel] gphoto2 does not recognize Canon A520 anymore Message-ID: <20060405174207.25670.qmail@web32712.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
Indeed, Just try this. If it works, please send a PR with the patch. Pedro. 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 Dec 31 19:00:00 1969 +++ libusb/files/patch-tests+descriptor_test.cpp Wed Apr 5 12:32:37 2006 @@ -0,0 +1,14 @@ +--- tests/descriptor_test.cpp.orig Wed Apr 5 12:29:27 2006 ++++ tests/descriptor_test.cpp Wed Apr 5 12:31:10 2006 +@@ -34,9 +34,9 @@ + + cout << bus->directoryName() << "/" + << device->fileName() << " " +- << ios::uppercase << hex << setw(4) << setfill('0') ++ << hex << setw(4) << setfill('0') + << device->idVendor() << "/" +- << ios::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 Dec 31 19:00:00 1969 +++ libusb/files/patch-usbpp.cpp Wed Apr 5 12:28:19 2006 @@ -0,0 +1,11 @@ +--- usbpp.cpp.orig Wed Apr 5 12:27:10 2006 ++++ usbpp.cpp Wed Apr 5 12:27:45 2006 +@@ -9,7 +9,7 @@ + + #include <errno.h> + #include <cstdlib> +-#include <stdio.h> ++#include <cstdio> + + //remove after debugging + #include <iostream> --- Pedro F. Giffuni M. Sc. Industrial Eng. University of Pittsburgh Mech. Eng. Universidad Nacional de Colombia --- Yahoo is powered by FreeBSD http://www.FreeBSD.org/ ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060405174207.25670.qmail>