2015-12-05 11:46:58 +01:00
|
|
|
GCC on 9.x doesn't allow types to be overwritten, these types are defined
|
|
|
|
in drm.h also, which causes build issues in xorg-server.
|
|
|
|
|
2017-12-26 00:30:54 +01:00
|
|
|
--- include/GL/internal/dri_interface.h.orig 2017-12-21 17:31:21 UTC
|
2017-02-11 14:31:59 +01:00
|
|
|
+++ include/GL/internal/dri_interface.h
|
2015-12-05 11:46:58 +01:00
|
|
|
@@ -40,13 +40,7 @@
|
|
|
|
#ifndef DRI_INTERFACE_H
|
|
|
|
#define DRI_INTERFACE_H
|
|
|
|
|
|
|
|
-#ifdef HAVE_LIBDRM
|
|
|
|
#include <drm.h>
|
|
|
|
-#else
|
|
|
|
-typedef unsigned int drm_context_t;
|
|
|
|
-typedef unsigned int drm_drawable_t;
|
|
|
|
-typedef struct drm_clip_rect drm_clip_rect_t;
|
|
|
|
-#endif
|
|
|
|
|
2017-12-26 00:30:54 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|