From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 12 19:00:20 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AF4E1065674 for ; Fri, 12 Aug 2011 19:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 451F58FC17 for ; Fri, 12 Aug 2011 19:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7CJ0K0X027148 for ; Fri, 12 Aug 2011 19:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7CJ0Kfp027147; Fri, 12 Aug 2011 19:00:20 GMT (envelope-from gnats) Resent-Date: Fri, 12 Aug 2011 19:00:20 GMT Resent-Message-Id: <201108121900.p7CJ0Kfp027147@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, Norberto Lopes Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9C24106564A for ; Fri, 12 Aug 2011 18:53:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id CA4798FC12 for ; Fri, 12 Aug 2011 18:53:33 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7CIrXu1059370 for ; Fri, 12 Aug 2011 18:53:33 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7CIrXdE059361; Fri, 12 Aug 2011 18:53:33 GMT (envelope-from nobody) Message-Id: <201108121853.p7CIrXdE059361@red.freebsd.org> Date: Fri, 12 Aug 2011 18:53:33 GMT From: Norberto Lopes To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/159727: last.fm doesn't compile using clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2011 19:00:20 -0000 >Number: 159727 >Category: ports >Synopsis: last.fm doesn't compile using clang >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 12 19:00:19 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Norberto Lopes >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD danny 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue Jul 12 17:37:10 PDT 2011 root@danny:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When trying to compile last.fm using clang it errors out. >How-To-Repeat: Define compiler variables in order to compile in clang: .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif .if !defined(CPP) || ${CPP} == "cpp" CPP=clang -E .endif NO_WERROR= WERROR= cd /usr/ports/audio/last.fm && make clean && make >Fix: Patch attached Patch attached with submission follows: --- Settings.hI2011-08-11 17:01:04.654050218 -0700 +++ /tmp/Settings.hI2011-08-11 17:18:13.009047990 -0700 @@ -105,7 +105,7 @@ protected: public: MyQSettings( const UserSettings* const s ) { - beginGroup( s->username() ); + T::beginGroup( s->username() ); } }; >Release-Note: >Audit-Trail: >Unformatted: