Add patch to use drm.h instead of redefining the types.
This unbreaks the build of xorg-server on 9.3.
This commit is contained in:
parent
2f45072da8
commit
bba874625e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403056
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= dri
|
||||
PORTVERSION= ${MESAVERSION}
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= graphics
|
||||
|
||||
|
@ -0,0 +1,19 @@
|
||||
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.
|
||||
|
||||
--- include/GL/internal/dri_interface.h.orig 2015-12-05 10:55:50.545108000 +0100
|
||||
+++ include/GL/internal/dri_interface.h 2015-12-05 10:56:03.408589000 +0100
|
||||
@@ -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
|
||||
|
||||
/**
|
||||
* \name DRI interface structures
|
Loading…
Reference in New Issue
Block a user