From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 20 20:10:30 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BF6416A4D0 for ; Wed, 20 Apr 2005 20:10:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0894B43D45 for ; Wed, 20 Apr 2005 20:10:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3KKAT36031942 for ; Wed, 20 Apr 2005 20:10:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3KKAT9C031941; Wed, 20 Apr 2005 20:10:29 GMT (envelope-from gnats) Resent-Date: Wed, 20 Apr 2005 20:10:29 GMT Resent-Message-Id: <200504202010.j3KKAT9C031941@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Helge Oldach Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3EE116A4CE for ; Wed, 20 Apr 2005 20:09:32 +0000 (GMT) Received: from sep.oldach.net (sep.oldach.net [194.180.25.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 926AB43D31 for ; Wed, 20 Apr 2005 20:09:31 +0000 (GMT) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1])j3KK9SxB051282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Apr 2005 22:09:31 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.13.3/8.13.3/Submit) id j3KK9Rmc051281; Wed, 20 Apr 2005 22:09:27 +0200 (CEST) (envelope-from hmo) Message-Id: <200504202009.j3KK9Rmc051281@sep.oldach.net> Date: Wed, 20 Apr 2005 22:09:27 +0200 (CEST) From: Helge Oldach To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: johnjen@reynoldsnet.org Subject: ports/80169: ports/devel/libusb doesn't require GCC 3.1+ [patch] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Helge Oldach List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 20:10:30 -0000 >Number: 80169 >Category: ports >Synopsis: ports/devel/libusb doesn't require GCC 3.1+ [patch] >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: Wed Apr 20 20:10:29 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD localhost 4.11-STABLE FreeBSD 4.11-STABLE #2115: Wed Apr 6 18:33:41 CEST 2005 toor@localhost:/usr/obj/usr/src/sys/GENERIC i386 >Description: ports/devel/libusb/Makefile requires USE_GCC=3.1+ This is not necessary. The port in fact compiles and works fine using STABLE-4's stock 2.95.4 with the trivial patch below. There is no need for the lengthy installation of a ports' gcc for those users who don't require it otherwise. I might be mistaken with respect to the "uppercase" patch below, but this only relates to a test program. >How-To-Repeat: >Fix: --- ./tests/descriptor_test.cpp.ORIG Tue Feb 8 00:58:17 2005 +++ ./tests/descriptor_test.cpp Wed Apr 20 21:56:23 2005 @@ -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; --- ./usbpp.cpp.ORIG Tue Feb 8 00:58:02 2005 +++ ./usbpp.cpp Wed Apr 20 21:55:47 2005 @@ -9,6 +9,7 @@ #include #include +#include //remove after debugging #include >Release-Note: >Audit-Trail: >Unformatted: