From owner-svn-ports-all@freebsd.org Sun Apr 24 13:57:23 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25E14B1A01F; Sun, 24 Apr 2016 13:57:23 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D985B172A; Sun, 24 Apr 2016 13:57:22 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3ODvMXv028184; Sun, 24 Apr 2016 13:57:22 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3ODvMih028183; Sun, 24 Apr 2016 13:57:22 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201604241357.u3ODvMih028183@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sun, 24 Apr 2016 13:57:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r413943 - branches/2016Q2/audio/taglookup/files X-SVN-Group: ports-branches 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.21 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, 24 Apr 2016 13:57:23 -0000 Author: riggs Date: Sun Apr 24 13:57:21 2016 New Revision: 413943 URL: https://svnweb.freebsd.org/changeset/ports/413943 Log: MFH: r413942 Fix build with libc++ 3.8.0 PR: 208490 Submitted by: dim Approved by: ports-secteam (build fix blanket), maintainer timeout Modified: branches/2016Q2/audio/taglookup/files/patch-tag.cpp Directory Properties: branches/2016Q2/ (props changed) Modified: branches/2016Q2/audio/taglookup/files/patch-tag.cpp ============================================================================== --- branches/2016Q2/audio/taglookup/files/patch-tag.cpp Sun Apr 24 13:54:48 2016 (r413942) +++ branches/2016Q2/audio/taglookup/files/patch-tag.cpp Sun Apr 24 13:57:21 2016 (r413943) @@ -20,3 +20,14 @@ return new_string; } // toUTF8String +@@ -166,8 +167,8 @@ namespace TagLookup + + bool operator() (const FileRefLengthPair &f1, const FileRefLengthPair &f2) + { +- if( abs(f1.second - x_) < +- abs(f2.second - x_) ) ++ if( abs((int)(f1.second - x_)) < ++ abs((int)(f2.second - x_)) ) + return true; + else + return false;