From owner-svn-ports-all@FreeBSD.ORG Sun Dec 2 12:46:57 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F194D19B; Sun, 2 Dec 2012 12:46:56 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id BAD078FC12; Sun, 2 Dec 2012 12:46:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB2CkueT069185; Sun, 2 Dec 2012 12:46:56 GMT (envelope-from arved@svn.freebsd.org) Received: (from arved@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB2CkuLw069183; Sun, 2 Dec 2012 12:46:56 GMT (envelope-from arved@svn.freebsd.org) Message-Id: <201212021246.qB2CkuLw069183@svn.freebsd.org> From: Tilman Keskinoz Date: Sun, 2 Dec 2012 12:46:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308104 - in head/audio/last.fm: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 12:46:57 -0000 Author: arved Date: Sun Dec 2 12:46:56 2012 New Revision: 308104 URL: http://svnweb.freebsd.org/changeset/ports/308104 Log: Fix build with clang PR: 173906 Submitted by: Rainer Hurling add USE_DOS2UNIX, because the file that needs to be patch had ^M endings. Feature safe: yes Added: head/audio/last.fm/files/patch-src-libFingerprint-fplib-src-FloatingAverage.h (contents, props changed) Modified: head/audio/last.fm/Makefile Modified: head/audio/last.fm/Makefile ============================================================================== --- head/audio/last.fm/Makefile Sun Dec 2 12:25:48 2012 (r308103) +++ head/audio/last.fm/Makefile Sun Dec 2 12:46:56 2012 (r308104) @@ -32,6 +32,7 @@ USE_QT4= gui imageformats_run moc_build sql uic_build xml HAS_CONFIGURE= yes USE_LDCONFIG= yes +USE_DOS2UNIX= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} Added: head/audio/last.fm/files/patch-src-libFingerprint-fplib-src-FloatingAverage.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/last.fm/files/patch-src-libFingerprint-fplib-src-FloatingAverage.h Sun Dec 2 12:46:56 2012 (r308104) @@ -0,0 +1,12 @@ +--- src/libFingerprint/fplib/src/FloatingAverage.h.orig 2007-12-18 15:18:19.000000000 +0100 ++++ src/libFingerprint/fplib/src/FloatingAverage.h 2012-11-25 13:23:10.000000000 +0100 +@@ -78,6 +78,7 @@ + { + T real_sum = 0; + const T* pCircularBuffer = m_values.get_buffer(); ++ const int size = m_values.size(); + for ( int i = 0; i < size; ++i ) + real_sum += pCircularBuffer[i]; + return abs(real_sum - m_sum) / this->size(); + +