From owner-svn-ports-head@FreeBSD.ORG Thu Jan 30 14:24:19 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98746FEA; Thu, 30 Jan 2014 14:24:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 838E411A0; Thu, 30 Jan 2014 14:24:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0UEOJ92077234; Thu, 30 Jan 2014 14:24:19 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0UEOInn077227; Thu, 30 Jan 2014 14:24:18 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201401301424.s0UEOInn077227@svn.freebsd.org> From: Pietro Cerutti Date: Thu, 30 Jan 2014 14:24:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341840 - in head/audio/osalp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 14:24:19 -0000 Author: gahr Date: Thu Jan 30 14:24:18 2014 New Revision: 341840 URL: http://svnweb.freebsd.org/changeset/ports/341840 QAT: https://qat.redports.org/buildarchive/r341840/ Log: - Fix build on modern compilers [MFH] - STAGE-clean MFH: 2014Q1 Added: head/audio/osalp/files/ head/audio/osalp/files/patch-aflib_aflibConverter.cc (contents, props changed) head/audio/osalp/files/patch-aflib_aflibConverter.h (contents, props changed) head/audio/osalp/files/patch-aflib_aflibMemCache.cc (contents, props changed) head/audio/osalp/files/patch-formatlib-audiofile-0.2.0-libaudiofile_aiffwrite.c (contents, props changed) Modified: head/audio/osalp/Makefile Modified: head/audio/osalp/Makefile ============================================================================== --- head/audio/osalp/Makefile Thu Jan 30 14:18:32 2014 (r341839) +++ head/audio/osalp/Makefile Thu Jan 30 14:24:18 2014 (r341840) @@ -21,10 +21,20 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-all USE_LDCONFIG= yes -NO_STAGE= yes PLIST_SUB= VERSION=${PORTVERSION} CONFLICTS= libaudiofile-[0-9]* +post-patch: + ${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -E \ + 's|iostream.h|iostream|; \ + s|[[:space:]]cout| std::cout|g; \ + s|[[:space:]]endl| std::endl|g; \ + s|[[:space:]]cerr| std::cerr|g;' + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaflib-${PORTVERSION}.so \ + ${STAGEDIR}${PREFIX}/lib/aflib/lib*-${PORTVERSION}.so + .include Added: head/audio/osalp/files/patch-aflib_aflibConverter.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/osalp/files/patch-aflib_aflibConverter.cc Thu Jan 30 14:24:18 2014 (r341840) @@ -0,0 +1,11 @@ +--- ./aflib/aflibConverter.cc.orig 2014-01-30 14:56:04.000000000 +0100 ++++ ./aflib/aflibConverter.cc 2014-01-30 14:56:11.000000000 +0100 +@@ -226,7 +226,7 @@ + + + int +-aflibConverter::err_ret(char *s) ++aflibConverter::err_ret(const char *s) + { + aflib_debug("resample: %s \n\n",s); /* Display error message */ + return -1; Added: head/audio/osalp/files/patch-aflib_aflibConverter.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/osalp/files/patch-aflib_aflibConverter.h Thu Jan 30 14:24:18 2014 (r341840) @@ -0,0 +1,11 @@ +--- ./aflib/aflibConverter.h.orig 2014-01-30 14:55:43.000000000 +0100 ++++ ./aflib/aflibConverter.h 2014-01-30 14:55:50.000000000 +0100 +@@ -110,7 +110,7 @@ + operator=(const aflibConverter& op); + + int +- err_ret(char *s); ++ err_ret(const char *s); + + void + deleteMemory(); Added: head/audio/osalp/files/patch-aflib_aflibMemCache.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/osalp/files/patch-aflib_aflibMemCache.cc Thu Jan 30 14:24:18 2014 (r341840) @@ -0,0 +1,10 @@ +--- aflib/aflibMemCache.cc.orig 2014-01-30 12:09:41.000000000 +0100 ++++ aflib/aflibMemCache.cc 2014-01-30 12:10:12.000000000 +0100 +@@ -24,6 +24,7 @@ + #include + #endif + ++#include // getenv + + #include "aflibMemCache.h" + #include "aflibMemNode.h" Added: head/audio/osalp/files/patch-formatlib-audiofile-0.2.0-libaudiofile_aiffwrite.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/osalp/files/patch-formatlib-audiofile-0.2.0-libaudiofile_aiffwrite.c Thu Jan 30 14:24:18 2014 (r341840) @@ -0,0 +1,10 @@ +--- formatlib/audiofile-0.2.0/libaudiofile/aiffwrite.c.orig 2014-01-30 15:01:36.000000000 +0100 ++++ formatlib/audiofile-0.2.0/libaudiofile/aiffwrite.c 2014-01-30 15:01:51.000000000 +0100 +@@ -28,6 +28,7 @@ + + #include + #include ++#include + #include + + #include "extended.h"