1 diff -up qtbase-everywhere-src-5.15.2/src/gui/configure.json.libglvnd qtbase-everywhere-src-5.15.2/src/gui/configure.json
2 --- qtbase-everywhere-src-5.15.2/src/gui/configure.json.libglvnd 2020-10-27 03:02:11.000000000 -0500
3 +++ qtbase-everywhere-src-5.15.2/src/gui/configure.json 2021-09-10 10:05:53.610312223 -0500
4 @@ -847,9 +847,9 @@
5 ],
6 "include": [ "EGL/egl.h", "X11/Xlib.h" ],
7 "main": [
8 - "Display *dpy = EGL_DEFAULT_DISPLAY;",
9 + "Display *dpy = reinterpret_cast<Display *>(EGL_DEFAULT_DISPLAY);",
10 "EGLNativeDisplayType egldpy = XOpenDisplay(\"\");",
11 - "dpy = egldpy;",
12 + "dpy = reinterpret_cast<Display *>(egldpy);",
13 "EGLNativeWindowType w = XCreateWindow(dpy, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);",
14 "XDestroyWindow(dpy, w);",
15 "XCloseDisplay(dpy);"
|