1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/graphics/mesa-dri/files/patch-compat-include-guards
Jan Beich cd740e600a graphics/mesa-{libs,dri}: update to 18.3.2
Changes:	https://www.mesa3d.org/relnotes/18.3.0.html
Changes:	https://www.mesa3d.org/relnotes/18.3.1.html
Changes:	https://www.mesa3d.org/relnotes/18.3.2.html
PR:		233034
Tested by:	Kevin Oberman
Approved by:	maintainer timeout (2 weeks after 2019Q1)
Differential Revision:	https://reviews.freebsd.org/D17872
2019-01-17 15:34:55 +00:00

65 lines
1.6 KiB
Plaintext

Partially revert https://cgit.freedesktop.org/mesa/mesa/commit/?id=f7d42ee7d319
in order to allow ports like devel/allegro, devel/sdl{12,20}, graphics/glew,
graphics/libepoxy, x11-toolkits/qt5-gui to skip <GL/glext.h> inclusion via <GL/gl.h>.
--- include/GLES2/gl2.h.orig 2018-11-09 11:03:00 UTC
+++ include/GLES2/gl2.h
@@ -1,5 +1,5 @@
-#ifndef __gles2_gl2_h_
-#define __gles2_gl2_h_ 1
+#ifndef __gl2_h_
+#define __gl2_h_ 1
#ifdef __cplusplus
extern "C" {
--- include/GLES2/gl2ext.h.orig 2018-11-09 11:03:00 UTC
+++ include/GLES2/gl2ext.h
@@ -1,5 +1,5 @@
-#ifndef __gles2_gl2ext_h_
-#define __gles2_gl2ext_h_ 1
+#ifndef __gl2ext_h_
+#define __gl2ext_h_ 1
#ifdef __cplusplus
extern "C" {
--- include/GLES3/gl3.h.orig 2018-11-09 11:03:00 UTC
+++ include/GLES3/gl3.h
@@ -1,5 +1,5 @@
-#ifndef __gles2_gl3_h_
-#define __gles2_gl3_h_ 1
+#ifndef __gl3_h_
+#define __gl3_h_ 1
#ifdef __cplusplus
extern "C" {
--- include/GL/glcorearb.h.orig 2018-11-09 11:03:00 UTC
+++ include/GL/glcorearb.h
@@ -1,5 +1,5 @@
-#ifndef __gl_glcorearb_h_
-#define __gl_glcorearb_h_ 1
+#ifndef __glcorearb_h_
+#define __glcorearb_h_ 1
#ifdef __cplusplus
extern "C" {
--- include/GL/glext.h.orig 2018-11-09 11:03:00 UTC
+++ include/GL/glext.h
@@ -1,5 +1,5 @@
-#ifndef __gl_glext_h_
-#define __gl_glext_h_ 1
+#ifndef __glext_h_
+#define __glext_h_ 1
#ifdef __cplusplus
extern "C" {
--- include/GL/glxext.h.orig 2018-11-09 11:03:00 UTC
+++ include/GL/glxext.h
@@ -1,5 +1,5 @@
-#ifndef __glx_glxext_h_
-#define __glx_glxext_h_ 1
+#ifndef __glxext_h_
+#define __glxext_h_ 1
#ifdef __cplusplus
extern "C" {