Date: Mon, 28 Jul 2003 02:03:06 -0400 (EDT) From: Barney Wolff <barney@databus.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54966: id3v2 port has gcc 3.3 trouble Message-ID: <200307280603.h6S636hn044301@pit.databus.com> Resent-Message-ID: <200307280610.h6S6AFA2060327@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54966 >Category: ports >Synopsis: id3v2 port has gcc 3.3 trouble >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 27 23:10:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Barney Wolff >Release: FreeBSD 5.1-Current i386 >Organization: Databus Inc. >Environment: System: FreeBSD lab.databus.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Jul 25 21:12:56 EDT 2003 toor@lab.databus.com:/home/obj/usr/src/sys/LAB i386 >Description: audio/id3v2 port c++ files include /usr/local/include/getopt.h, which has an empty prototype for getopt() that conflicts with the one in /usr/include/stdlib.h. c++ in gcc 3.3 is stricter about this than older versions, and the port will not build on 5-Current. >How-To-Repeat: cd /usr/ports/audio/id3v2; make all >Fix: Patch /usr/ports/audio/id3v2/Makefile: --- Makefile-030725 Fri Jul 25 19:52:50 2003 +++ Makefile Sun Jul 27 17:57:33 2003 @@ -18,7 +18,7 @@ LIB_DEPENDS= id3-3.8.2:${PORTSDIR}/audio/id3lib USE_GETOPT_LONG=yes -CPPFLAGS= -I${LOCALBASE}/include +CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT=1 LDFLAGS= -L${LOCALBASE}/lib CFLAGS+= ${CPPFLAGS} MAKE_ENV= LDFLAGS="${LDFLAGS}" This patch works on both -current and -stable. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307280603.h6S636hn044301>