diff options
author | mirh | 2021-02-05 16:40:54 +0100 |
---|---|---|
committer | mirh | 2021-02-05 16:40:54 +0100 |
commit | 965a2bcb03b83011b00bb2c26dc63fd4312ea6b9 (patch) | |
tree | 3cf3a8134dd911496e211a8551234dea7ef5fa65 /libglvnd-glamor.patch | |
parent | 571679c019edd3730719d32c32fba72a37f4d72e (diff) | |
download | aur-xorg-server1.19-git.tar.gz |
Updated to 1.19.7 and fixed compile
Diffstat (limited to 'libglvnd-glamor.patch')
-rw-r--r-- | libglvnd-glamor.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libglvnd-glamor.patch b/libglvnd-glamor.patch new file mode 100644 index 000000000000..446afcda4a53 --- /dev/null +++ b/libglvnd-glamor.patch @@ -0,0 +1,36 @@ +diff --git a/glamor/glamor_egl.h b/glamor/glamor_egl.h +index 6bb1185bf..f8601bb73 100644 +--- a/glamor/glamor_egl.h ++++ b/glamor/glamor_egl.h +@@ -28,6 +28,7 @@ + #define GLAMOR_EGL_H + + #define MESA_EGL_NO_X11_HEADERS ++#define EGL_NO_X11 + #include <epoxy/gl.h> + #include <epoxy/egl.h> + +diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h +index 27f95521d..4c4eb43d5 100644 +--- a/glamor/glamor_priv.h ++++ b/glamor/glamor_priv.h +@@ -40,6 +40,7 @@ + #include <epoxy/gl.h> + #if GLAMOR_HAS_GBM + #define MESA_EGL_NO_X11_HEADERS ++#define EGL_NO_X11 + #include <epoxy/egl.h> + #endif + +diff --git a/hw/xwayland/xwayland-glamor.c b/hw/xwayland/xwayland-glamor.c +index 63f230369..571b16b47 100644 +--- a/hw/xwayland/xwayland-glamor.c ++++ b/hw/xwayland/xwayland-glamor.c +@@ -30,6 +30,7 @@ + #include <xf86drm.h> + + #define MESA_EGL_NO_X11_HEADERS ++#define EGL_NO_X11 + #include <gbm.h> + #include <glamor_egl.h> + |