From swills@mouf.net  Tue Sep 24 12:36:03 2013
Return-Path: <swills@mouf.net>
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 ESMTP id 8A67B5FC
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 24 Sep 2013 12:36:03 +0000 (UTC)
	(envelope-from swills@mouf.net)
Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 37A5B29B6
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 24 Sep 2013 12:36:03 +0000 (UTC)
Received: from meatwad.mouf.net (cpe-107-015-170-205.nc.res.rr.com [107.15.170.205])
	by mouf.net (8.14.5/8.14.5) with ESMTP id r8OCZrip088437
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 24 Sep 2013 12:35:58 GMT
	(envelope-from swills@meatwad.mouf.net)
Received: (from swills@localhost)
	by meatwad.mouf.net (8.14.7/8.14.5/Submit) id r8OCZnKm061096;
	Tue, 24 Sep 2013 12:35:49 GMT
	(envelope-from swills)
Message-Id: <201309241235.r8OCZnKm061096@meatwad.mouf.net>
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: [PATCH] audio/chromaprint: fix build on 10.0-ALPHA2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         182345
>Category:       ports
>Synopsis:       [PATCH] audio/chromaprint: fix build on 10.0-ALPHA2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jhale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 24 12:40:00 UTC 2013
>Closed-Date:    Wed Sep 25 01:31:17 UTC 2013
>Last-Modified:  Wed Sep 25 01:31:17 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->jhale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Sep 24 12:40:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182345 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182345: commit references a PR
Date: Wed, 25 Sep 2013 01:29:32 +0000 (UTC)

 Author: jhale
 Date: Wed Sep 25 01:29:24 2013
 New Revision: 328231
 URL: http://svnweb.freebsd.org/changeset/ports/328231
 
 Log:
   - Update to 1.0
   - Support staging
   - Fix build with libc++ [1]
   
   PR:		ports/182345 [1]
   Submitted by:	swills [1]
 
 Added:
   head/audio/chromaprint/files/patch-src__utils.h   (contents, props changed)
 Modified:
   head/audio/chromaprint/Makefile
   head/audio/chromaprint/distinfo
   head/audio/chromaprint/pkg-plist
 
 Modified: head/audio/chromaprint/Makefile
 ==============================================================================
 --- head/audio/chromaprint/Makefile	Wed Sep 25 01:19:21 2013	(r328230)
 +++ head/audio/chromaprint/Makefile	Wed Sep 25 01:29:24 2013	(r328231)
 @@ -1,10 +1,9 @@
  # $FreeBSD$
  
  PORTNAME=	chromaprint
 -PORTVERSION=	0.7
 -PORTREVISION=	1
 +PORTVERSION=	1.0
  CATEGORIES=	audio
 -MASTER_SITES=	http://cloud.github.com/downloads/lalinsky/${PORTNAME}/
 +MASTER_SITES=	http://bitbucket.org/acoustid/${PORTNAME}/downloads/
  
  MAINTAINER=	jhale@FreeBSD.org
  COMMENT=	AcoustID audio fingerprinting library
 @@ -14,9 +13,9 @@ LICENSE=	LGPL21
  LIB_DEPENDS=	avcodec${FFMPEG_SUFFIX}:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
  
  USES=		cmake:outsource
 -NO_STAGE=	yes
  USE_LDCONFIG=	yes
  
 +FETCH_ARGS=	-Fpr
  CMAKE_ARGS=	-DBUILD_EXAMPLES:BOOL=ON \
  		-DWITH_AVFFT:BOOL=ON \
  		-DFFMPEG_SUFFIX:STRING=${FFMPEG_SUFFIX}
 @@ -26,4 +25,10 @@ post-patch:
  	${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>
 
 Modified: head/audio/chromaprint/distinfo
 ==============================================================================
 --- head/audio/chromaprint/distinfo	Wed Sep 25 01:19:21 2013	(r328230)
 +++ head/audio/chromaprint/distinfo	Wed Sep 25 01:29:24 2013	(r328231)
 @@ -1,2 +1,2 @@
 -SHA256 (chromaprint-0.7.tar.gz) = 4e52c3fd443c91a5c429557753d4ba3f9d31d183810412c0d8600892f3975501
 -SIZE (chromaprint-0.7.tar.gz) = 543811
 +SHA256 (chromaprint-1.0.tar.gz) = af4f780e587ebd7e61a8d175db3bbd63ee644a960bd75e52407a28fd83089f1e
 +SIZE (chromaprint-1.0.tar.gz) = 541381
 
 Added: head/audio/chromaprint/files/patch-src__utils.h
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/chromaprint/files/patch-src__utils.h	Wed Sep 25 01:29:24 2013	(r328231)
 @@ -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)
 
 Modified: head/audio/chromaprint/pkg-plist
 ==============================================================================
 --- head/audio/chromaprint/pkg-plist	Wed Sep 25 01:19:21 2013	(r328230)
 +++ head/audio/chromaprint/pkg-plist	Wed Sep 25 01:29:24 2013	(r328231)
 @@ -2,5 +2,5 @@ bin/fpcalc
  include/chromaprint.h
  lib/libchromaprint.so
  lib/libchromaprint.so.0
 -lib/libchromaprint.so.0.2.0
 +lib/libchromaprint.so.0.2.1
  libdata/pkgconfig/libchromaprint.pc
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: jhale 
State-Changed-When: Wed Sep 25 01:31:16 UTC 2013 
State-Changed-Why:  
Committed with new version.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182345 
>Unformatted:
