lxqt-panel: fix C++11 build (with Qt5-5.8.0)

This commit is contained in:
Jürgen Buchmüller 2017-02-28 16:53:48 +01:00
parent c61f901173
commit 511e84d409
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- plugin-kbindicator/src/x11/kbdlayout.cpp 2017-01-01 23:27:14.000000000 +0100
+++ plugin-kbindicator/src/x11/kbdlayout.cpp 2017-02-28 16:18:56.359249129 +0100
@@ -33,7 +33,8 @@
#include <xkbcommon/xkbcommon-x11.h>
#include <xcb/xcb.h>
-#define explicit _explicit
+#define explicit c_explicit
#include <xcb/xkb.h>
+#undef explicit
#include "../kbdinfo.h"
#include "../controls.h"

View File

@ -1,7 +1,7 @@
# Template file for 'lxqt-panel'
pkgname=lxqt-panel
version=0.11.1
revision=1
revision=2
build_style=cmake
configure_args="-DPULL_TRANSLATIONS=0"
hostmakedepends="pkg-config qt5-host-tools liblxqt-devel"