svn commit: r413942 - head/audio/taglookup/files
Thomas Zander
riggs at FreeBSD.org
Sun Apr 24 13:54:50 UTC 2016
Author: riggs
Date: Sun Apr 24 13:54:48 2016
New Revision: 413942
URL: https://svnweb.freebsd.org/changeset/ports/413942
Log:
Fix build with libc++ 3.8.0
PR: 208490
Submitted by: dim
Approved by: maintainer timeout
MFH: 2016Q2 (build fix blanket)
Modified:
head/audio/taglookup/files/patch-tag.cpp
Modified: head/audio/taglookup/files/patch-tag.cpp
==============================================================================
--- head/audio/taglookup/files/patch-tag.cpp Sun Apr 24 13:50:53 2016 (r413941)
+++ head/audio/taglookup/files/patch-tag.cpp Sun Apr 24 13:54:48 2016 (r413942)
@@ -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;
More information about the svn-ports-head
mailing list