From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 12 18:10:06 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9BD00D7 for ; Fri, 12 Jul 2013 18:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 844071470 for ; Fri, 12 Jul 2013 18:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6CIA6II062492 for ; Fri, 12 Jul 2013 18:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6CIA6gE062491; Fri, 12 Jul 2013 18:10:06 GMT (envelope-from gnats) Resent-Date: Fri, 12 Jul 2013 18:10:06 GMT Resent-Message-Id: <201307121810.r6CIA6gE062491@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 [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7A3DAE1B for ; Fri, 12 Jul 2013 18:01:01 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from omta02.auone-net.jp (mail-or1-f17.auone-net.jp [106.187.231.17]) by mx1.freebsd.org (Postfix) with ESMTP id 52350135D for ; Fri, 12 Jul 2013 18:01:00 +0000 (UTC) Received: from localhost.localdomain (ZT028158.ppp.dion.ne.jp [59.128.28.158]) by omta02.auone-net.jp (au one net mail) with ESMTP id A3314156000F for ; Sat, 13 Jul 2013 03:00:52 +0900 (JST) Message-Id: <20130713025834.37bcb84d9cf313a4411621e2@yahoo.com> Date: Sat, 13 Jul 2013 02:58:34 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/180516: audio/epos-devel: 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: Fri, 12 Jul 2013 18:10:06 -0000 >Number: 180516 >Category: ports >Synopsis: audio/epos-devel: 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: Fri Jul 12 18:10:06 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE i386 >Organization: >Environment: >Description: - Fix build with clang Nes file: files/patch-src__nnet__map.h files/patch-src__nnet__neural_parse.yy >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/epos-devel/Makefile audio/epos-devel/Makefile --- /usr/ports/audio/epos-devel/Makefile 2013-06-21 04:00:57.000000000 +0900 +++ audio/epos-devel/Makefile 2013-07-13 00:00:00.000000000 +0900 @@ -1,9 +1,5 @@ -# New ports collection makefile for: epos-devel -# Date created: 3 September 2005 -# Whom: Martin Matuska -# +# Created by: Martin Matuska # $FreeBSD: head/audio/epos-devel/Makefile 300895 2012-07-14 12:56:14Z beat $ -# PORTNAME= epos PORTVERSION= 2.5.37 @@ -18,11 +14,14 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/doc/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/libs/regex/COPYING.LIB -GNU_CONFIGURE= yes USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_lib_stdcpp_main=no MAKE_JOBS_SAFE= yes post-patch: - ${REINPLACE_CMD} -e 's/^\(SUBDIRS =.*\)doc/\1/' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's/^\(SUBDIRS =.*\)doc/\1/' ${WRKSRC}/Makefile.in + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|-ggdb||' .include diff -urN /usr/ports/audio/epos-devel/files/patch-src__nnet__map.h audio/epos-devel/files/patch-src__nnet__map.h --- /usr/ports/audio/epos-devel/files/patch-src__nnet__map.h 1970-01-01 09:00:00.000000000 +0900 +++ audio/epos-devel/files/patch-src__nnet__map.h 2013-07-13 00:00:00.000000000 +0900 @@ -0,0 +1,11 @@ +--- src/nnet/map.h.orig ++++ src/nnet/map.h +@@ -25,7 +25,7 @@ + else { + TData x; + x.first() = key; +- return insert (x)->second(); ++ return this->insert (x)->second(); + } + } + diff -urN /usr/ports/audio/epos-devel/files/patch-src__nnet__neural_parse.yy audio/epos-devel/files/patch-src__nnet__neural_parse.yy --- /usr/ports/audio/epos-devel/files/patch-src__nnet__neural_parse.yy 1970-01-01 09:00:00.000000000 +0900 +++ audio/epos-devel/files/patch-src__nnet__neural_parse.yy 2013-07-13 00:00:00.000000000 +0900 @@ -0,0 +1,11 @@ +--- src/nnet/neural_parse.yy.orig ++++ src/nnet/neural_parse.yy +@@ -255,7 +255,7 @@ + + int yyerror (char *s) + { +- shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf, s)); ++ shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf.c_str(), s)); + return -1; + } + >Release-Note: >Audit-Trail: >Unformatted: