diff options
author | linimon <linimon@FreeBSD.org> | 2018-03-29 14:10:57 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2018-03-29 14:10:57 +0800 |
commit | 5623400504d0c613cc6850bc1c8a393d56ceb86d (patch) | |
tree | 9a6542d6cc615109de871beacc78c80037b2dbce | |
parent | 85e369e7446c1413f4b84c084ae6a7848a82073b (diff) | |
download | freebsd-ports-gnome-5623400504d0c613cc6850bc1c8a393d56ceb86d.tar.gz freebsd-ports-gnome-5623400504d0c613cc6850bc1c8a393d56ceb86d.tar.zst freebsd-ports-gnome-5623400504d0c613cc6850bc1c8a393d56ceb86d.zip |
Fix build on armvX.
PR: 226389
Submitted by: mikael.urankar
Approved by: maintainer timeout (2 weeks)
-rw-r--r-- | x11-wm/fluxbox/files/patch-src_Ewmh.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/fluxbox/files/patch-src_Ewmh.cc b/x11-wm/fluxbox/files/patch-src_Ewmh.cc new file mode 100644 index 000000000000..65446ef0d3ad --- /dev/null +++ b/x11-wm/fluxbox/files/patch-src_Ewmh.cc @@ -0,0 +1,11 @@ +--- src/Ewmh.cc.orig 2018-02-17 12:06:58 UTC ++++ src/Ewmh.cc +@@ -914,7 +914,7 @@ void Ewmh::updateGeometry(BScreen &screen) { + * Window Manager. + * + */ +- long value[2] = {screen.width(), screen.height()}; ++ long value[2] = {static_cast<long>(screen.width()), static_cast<long>(screen.height())}; + screen.rootWindow().changeProperty(m_net->desktop_geometry, + XA_CARDINAL, 32, + PropModeReplace, |