From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 15 18:10:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE0CD497 for ; Mon, 15 Oct 2012 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 989968FC28 for ; Mon, 15 Oct 2012 18:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9FIA2nA043601 for ; Mon, 15 Oct 2012 18:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9FIA2as043600; Mon, 15 Oct 2012 18:10:02 GMT (envelope-from gnats) Resent-Date: Mon, 15 Oct 2012 18:10:02 GMT Resent-Message-Id: <201210151810.q9FIA2as043600@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, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40DCF196 for ; Mon, 15 Oct 2012 18:00:07 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa101lp.auone-net.jp (msa101lp.auone-net.jp [222.3.140.164]) by mx1.freebsd.org (Postfix) with ESMTP id E53098FC0A for ; Mon, 15 Oct 2012 18:00:06 +0000 (UTC) Received: from localhost.localdomain (ZT028199.ppp.dion.ne.jp [59.128.28.199]) by msa101lp.auone-net.jp (au one net msa) with ESMTP id B5E5634034 for ; Tue, 16 Oct 2012 03:00:03 +0900 (JST) Message-Id: <20121016025548.13f828b0752996ec2089940d@yahoo.com> Date: Tue, 16 Oct 2012 02:55:48 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172722: audio/linuxsampler: Fix build with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2012 18:10:02 -0000 >Number: 172722 >Category: ports >Synopsis: audio/linuxsampler: Fix build with clang >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: Mon Oct 15 18:10:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Fix build with clang New file: files/patch-src__common__Pool.h >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/linuxsampler/Makefile audio/linuxsampler/Makefile --- /usr/ports/audio/linuxsampler/Makefile 2012-10-10 07:12:13.000000000 +0900 +++ audio/linuxsampler/Makefile 2012-10-13 04:24:07.000000000 +0900 @@ -10,7 +10,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Modular MIDI sampler -LIB_DEPENDS= gig.10:${PORTSDIR}/audio/libgig +LIB_DEPENDS= gig:${PORTSDIR}/audio/libgig RESTRICTED= no commercial use @@ -23,14 +23,13 @@ LV2CORE_DESC= Enable LV2 support USE_BZIP2= yes -USE_GCC= any USE_GNOME= gnomehack USE_SQLITE= 3 +USE_PKGCONFIG= build USE_GMAKE= yes USE_AUTOTOOLS= libtool CONFIGURE_ENV= HAVE_UNIX98=1 USE_LDCONFIG= yes -USE_PKGCONFIG= build MAKE_JOBS_SAFE= yes MAN1= linuxsampler.1 @@ -38,22 +37,22 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include +.include .if ${PORT_OPTIONS:MJACK} -LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack +LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack .else CONFIGURE_ARGS+=--disable-jack-driver .endif .if ${PORT_OPTIONS:MALSA} -LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib +LIB_DEPENDS+= asound:${PORTSDIR}/audio/alsa-lib .else CONFIGURE_ARGS+=--disable-alsa-driver .endif .if ${PORT_OPTIONS:MARTS} -LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts +LIB_DEPENDS+= artsc:${PORTSDIR}/audio/arts .else CONFIGURE_ARGS+=--disable-arts-driver .endif @@ -84,4 +83,4 @@ post-install: @${TOUCH} ${PREFIX}/lib/linuxsampler/plugins/.keep_me -.include +.include diff -urN /usr/ports/audio/linuxsampler/files/patch-src__common__Pool.h audio/linuxsampler/files/patch-src__common__Pool.h --- /usr/ports/audio/linuxsampler/files/patch-src__common__Pool.h 1970-01-01 09:00:00.000000000 +0900 +++ audio/linuxsampler/files/patch-src__common__Pool.h 2012-10-13 04:19:56.000000000 +0900 @@ -0,0 +1,11 @@ +--- src/common/Pool.h.orig 2008-12-07 09:18:04.000000000 +0900 ++++ src/common/Pool.h 2012-10-13 04:19:19.000000000 +0900 +@@ -393,7 +393,7 @@ + inline Iterator allocAppend() { + if (pPool->poolIsEmpty()) return RTListBase::begin(); + Iterator element = pPool->alloc(); +- append(element); ++ this->append(element); + #if CONFIG_DEVMODE + element.list = this; + #endif // CONFIG_DEVMODE >Release-Note: >Audit-Trail: >Unformatted: