Blame SOURCES/SDL-1.2.15-Use-system-glext.h.patch

8d63ce
From cf8a0c3d75005436d3ed3ea0ae258cdef5b10ebe Mon Sep 17 00:00:00 2001
8d63ce
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
8d63ce
Date: Mon, 14 Jan 2019 12:10:21 +0100
8d63ce
Subject: [PATCH] Use system glext.h
8d63ce
MIME-Version: 1.0
8d63ce
Content-Type: text/plain; charset=UTF-8
8d63ce
Content-Transfer-Encoding: 8bit
8d63ce
8d63ce
mesa-18.2.6 changed GL_GLEXT_VERSION and that conflicts with the bundled
8d63ce
glext.h definitions. Use system glext.h instead via GL/gl.h.
8d63ce
8d63ce
Signed-off-by: Petr Písař <ppisar@redhat.com>
8d63ce
---
8d63ce
 include/SDL_opengl.h | 2 ++
8d63ce
 1 file changed, 2 insertions(+)
8d63ce
8d63ce
diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h
8d63ce
index 3d791d6..3a77b11 100644
8d63ce
--- a/include/SDL_opengl.h
8d63ce
+++ b/include/SDL_opengl.h
8d63ce
@@ -33,6 +33,8 @@
8d63ce
 #endif
8d63ce
 #include <windows.h>
8d63ce
 #endif
8d63ce
+/* mesa changes GL_GLEXT_VERSION, use system glext.h instead via GL/gl.h */
8d63ce
+#define NO_SDL_GLEXT
8d63ce
 #ifndef NO_SDL_GLEXT
8d63ce
 #define __glext_h_  /* Don't let gl.h include glext.h */
8d63ce
 #endif
8d63ce
-- 
8d63ce
2.17.2
8d63ce