Fix FTBFS #873599
* Removed some not needed versions from build dependencies * Bumped Standards to 4.1.0 - no changes needed * Ported back fix for explicit keyword (Closes: #873599) Thanks Adrian Bunk for spotting this.ubuntu/bionic debian/0.11.1-4
parent
86b6f4bde2
commit
605bba5c3e
@ -0,0 +1,23 @@
|
|||||||
|
Description: Fixes #873599 FTBFS explicit
|
||||||
|
No further action needed, patch was taken with description from
|
||||||
|
upstream and can disappear with the next release.
|
||||||
|
Last-Update: 2017-09-03
|
||||||
|
|
||||||
|
--- lxqt-panel-0.11.1.orig/plugin-kbindicator/src/x11/kbdlayout.cpp
|
||||||
|
+++ lxqt-panel-0.11.1/plugin-kbindicator/src/x11/kbdlayout.cpp
|
||||||
|
@@ -33,8 +33,15 @@
|
||||||
|
|
||||||
|
#include <xkbcommon/xkbcommon-x11.h>
|
||||||
|
#include <xcb/xcb.h>
|
||||||
|
+
|
||||||
|
+// Note: We need to override "explicit" as this is a C++ keyword. But it is
|
||||||
|
+// used as variable name in xkb.h. This is causing a failure in C++ compile
|
||||||
|
+// time.
|
||||||
|
+// Similar bug here: https://bugs.freedesktop.org/show_bug.cgi?id=74080
|
||||||
|
#define explicit _explicit
|
||||||
|
#include <xcb/xkb.h>
|
||||||
|
+#undef explicit
|
||||||
|
+
|
||||||
|
#include "../kbdinfo.h"
|
||||||
|
#include "../controls.h"
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
fix-explicit.patch
|
Loading…
Reference in new issue