Blame SOURCES/qtbase-everywhere-src-5.15.2-libglvnd.patch

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