freebsd-ports/devel/libusb/files/patch-tests_descriptor__test.cpp
Volker Stolz 27f30c18c4 Add minimal patch to make libusb build with plain gcc on 4.x again.
This also allows us to return to standard libtool-handling.

PR:		ports/80169
Submitted by:	Helge Oldach
Approved by:	maintainer timeout
2005-06-29 10:48:56 +00:00

17 lines
532 B
C++

$FreeBSD$
--- 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;