Date: Tue, 24 Sep 2013 12:35:49 GMT From: Steve Wills <swills@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jhale@FreeBSD.org Subject: ports/182345: [PATCH] audio/chromaprint: fix build on 10.0-ALPHA2 Message-ID: <201309241235.r8OCZnKm061096@meatwad.mouf.net> Resent-Message-ID: <201309241240.r8OCe0rH028343@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182345 >Category: ports >Synopsis: [PATCH] audio/chromaprint: fix build on 10.0-ALPHA2 >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: Tue Sep 24 12:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: FreeBSD 10.0-ALPHA2 amd64 >Organization: >Environment: System: FreeBSD meatwad.mouf.net 10.0-ALPHA2 FreeBSD 10.0-ALPHA2 #7 r255703M: Thu Sep 19 21:42:35 UTC >Description: - Fix build on 10.0-ALPHA2 Port maintainer (jhale@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- chromaprint-0.7_1.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 328121) +++ Makefile (working copy) @@ -26,4 +26,10 @@ ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \ ${WRKSRC}/CMakeLists.txt -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if (${CXX:T} == "clang++" && ${OSVERSION} > 902000) || ${OSVERSION} > 1000054 +CXXFLAGS+= -stdlib=libc++ -std=c++11 +.endif + +.include <bsd.port.post.mk> Index: files/patch-src__utils.h =================================================================== --- files/patch-src__utils.h (revision 0) +++ files/patch-src__utils.h (working copy) @@ -0,0 +1,10 @@ +--- src/utils.h.orig 2013-09-21 17:20:43.538723086 +0000 ++++ src/utils.h 2013-09-21 17:21:02.622721058 +0000 +@@ -30,6 +30,7 @@ + #include <stdint.h> + #include <limits> + #include <iterator> ++#include <algorithm> // std::fill + + #ifndef HAVE_ROUND + static inline double round(double x) Property changes on: files/patch-src__utils.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property --- chromaprint-0.7_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309241235.r8OCZnKm061096>