diff --git a/srcpkgs/wxWidgets/patches/fix-gcc6-disambiguate-abs.patch b/srcpkgs/wxWidgets/patches/fix-gcc6-disambiguate-abs.patch new file mode 100644 index 00000000000..dfdf86806a0 --- /dev/null +++ b/srcpkgs/wxWidgets/patches/fix-gcc6-disambiguate-abs.patch @@ -0,0 +1,14 @@ +--- src/stc/scintilla/src/Editor.cxx 2014-10-06 23:33:44.000000000 +0200 ++++ src/stc/scintilla/src/Editor.cxx 2016-09-18 15:34:29.359258750 +0200 +@@ -5841,9 +5841,9 @@ + } + + static bool Close(Point pt1, Point pt2) { +- if (abs(pt1.x - pt2.x) > 3) ++ if (abs(static_cast(pt1.x - pt2.x)) > 3) + return false; +- if (abs(pt1.y - pt2.y) > 3) ++ if (abs(static_cast(pt1.y - pt2.y)) > 3) + return false; + return true; + } diff --git a/srcpkgs/wxWidgets/template b/srcpkgs/wxWidgets/template index 529c1d62eea..e62846a3d69 100644 --- a/srcpkgs/wxWidgets/template +++ b/srcpkgs/wxWidgets/template @@ -1,7 +1,7 @@ # Template file for 'wxWidgets' pkgname=wxWidgets version=3.0.2 -revision=3 +revision=4 build_style=gnu-configure configure_args="--enable-unicode --with-opengl --with-sdl --with-libmspack --with-libnotify --enable-mediactrl"