svn commit: r415729 - head/x11-toolkits/wxgtk30/files
Dimitry Andric
dim at FreeBSD.org
Mon May 23 16:25:22 UTC 2016
Author: dim (src committer)
Date: Mon May 23 16:25:21 2016
New Revision: 415729
URL: https://svnweb.freebsd.org/changeset/ports/415729
Log:
During the exp-run in bug 208158, it was found that x11-toolkits/wxgtk30
gives errors with libc++ 3.8.0:
./src/stc/scintilla/src/Editor.cxx:5844:6: error: call to 'abs' is ambiguous
if (abs(pt1.x - pt2.x) > 3)
^~~
This is because pt1.x and pt2.x are float values, but <cmath> is not
included, and abs() for float values comes from that header. Fix it by
including <cmath>.
Approved by: portmaster at bsdforge.com (maintainer)
Approved by: vlad-fbsd at acheronmedia.com (maintainer)
PR: 209694
MFH: 2016Q2
Added:
head/x11-toolkits/wxgtk30/files/patch-src_stc_scintilla_src_Editor.cxx (contents, props changed)
Added: head/x11-toolkits/wxgtk30/files/patch-src_stc_scintilla_src_Editor.cxx
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-toolkits/wxgtk30/files/patch-src_stc_scintilla_src_Editor.cxx Mon May 23 16:25:21 2016 (r415729)
@@ -0,0 +1,10 @@
+--- src/stc/scintilla/src/Editor.cxx.orig 2014-10-06 21:33:44 UTC
++++ src/stc/scintilla/src/Editor.cxx
+@@ -16,6 +16,7 @@
+ #include <map>
+ #include <algorithm>
+ #include <memory>
++#include <cmath>
+
+ #include "Platform.h"
+
More information about the svn-ports-all
mailing list