Date: Sat, 13 Jul 2013 02:58:34 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/180516: audio/epos-devel: Fix build with clang Message-ID: <20130713025834.37bcb84d9cf313a4411621e2@yahoo.com> Resent-Message-ID: <201307121810.r6CIA6gE062491@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <mm@FreeBSD.org> -# +# Created by: Martin Matuska <mm@FreeBSD.org> # $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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130713025834.37bcb84d9cf313a4411621e2>