wxWidgets: fix gcc6 build

This commit is contained in:
Juergen Buchmueller 2016-09-18 15:44:24 +02:00
parent 941d381361
commit ac8c92434d
2 changed files with 15 additions and 1 deletions

View file

@ -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<int>(pt1.x - pt2.x)) > 3)
return false;
- if (abs(pt1.y - pt2.y) > 3)
+ if (abs(static_cast<int>(pt1.y - pt2.y)) > 3)
return false;
return true;
}

View file

@ -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"