git: 8854151b5968 - main - x11-wm/plasma5-kwin: unbreak with libglvnd >= 1.3.4
Jan Beich
jbeich at FreeBSD.org
Fri Sep 10 04:33:29 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8854151b59681a4ce0b56939fa62b1ed060872ae
commit 8854151b59681a4ce0b56939fa62b1ed060872ae
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-09-10 02:58:40 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-09-10 04:33:04 +0000
x11-wm/plasma5-kwin: unbreak with libglvnd >= 1.3.4
src/plugins/platforms/x11/common/eglonxbackend.cpp:227:66: error: cannot initialize a parameter of type 'EGLNativeWindowType' (aka 'void *') with an lvalue of type 'xcb_window_t' (aka 'unsigned int')
surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr);
^~~~~~
PR: 258269
Reported by: antoine (via exp-run)
See also: https://bugs.gentoo.org/810511
---
x11-wm/plasma5-kwin/files/patch-bug440372 | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/x11-wm/plasma5-kwin/files/patch-bug440372 b/x11-wm/plasma5-kwin/files/patch-bug440372
new file mode 100644
index 000000000000..21d46bf4ab96
--- /dev/null
+++ b/x11-wm/plasma5-kwin/files/patch-bug440372
@@ -0,0 +1,18 @@
+https://bugs.kde.org/show_bug.cgi?id=440372
+Regressed by https://github.com/KhronosGroup/EGL-Registry/commit/4e5d0cb9d025
+
+src/plugins/platforms/x11/common/eglonxbackend.cpp:227:66: error: cannot initialize a parameter of type 'EGLNativeWindowType' (aka 'void *') with an lvalue of type 'xcb_window_t' (aka 'unsigned int')
+ surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr);
+ ^~~~~~
+
+--- src/plugins/platforms/x11/common/eglonxbackend.cpp.orig 2021-08-31 11:41:03 UTC
++++ src/plugins/platforms/x11/common/eglonxbackend.cpp
+@@ -6,6 +6,8 @@
+
+ SPDX-License-Identifier: GPL-2.0-or-later
+ */
++#undef EGL_NO_PLATFORM_SPECIFIC_TYPES
++#define USE_X11
+ #include "eglonxbackend.h"
+ // kwin
+ #include "main.h"
More information about the dev-commits-ports-main
mailing list