diff options
author | 2019-01-13 20:35:23 +0100 | |
---|---|---|
committer | 2019-01-15 15:11:27 -0500 | |
commit | 76a4ccbb500e479ff544c6a49227f654d7e72a19 (patch) | |
tree | 4cd1ad5c4e705e6da1d536989005a7da3e3ece27 /media-libs/glew/files | |
parent | net-dns/coredns: Remove old (diff) | |
download | gentoo-76a4ccbb500e479ff544c6a49227f654d7e72a19.tar.gz gentoo-76a4ccbb500e479ff544c6a49227f654d7e72a19.tar.bz2 gentoo-76a4ccbb500e479ff544c6a49227f654d7e72a19.zip |
media-libs/glew: add mesa compatibility
* update to EAPI 7
* add compatibility for >=mesa-18 in glext.h
Closes: https://bugs.gentoo.org/671486
Closes: https://bugs.gentoo.org/673172
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10828
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-libs/glew/files')
-rw-r--r-- | media-libs/glew/files/glew-2.1.0-mesa-compat.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/glew/files/glew-2.1.0-mesa-compat.patch b/media-libs/glew/files/glew-2.1.0-mesa-compat.patch new file mode 100644 index 000000000000..391420e8138a --- /dev/null +++ b/media-libs/glew/files/glew-2.1.0-mesa-compat.patch @@ -0,0 +1,21 @@ +diff --git a/include/GL/glew.h b/include/GL/glew.h +index b5b6987..a9f9e4b 100644 +--- a/include/GL/glew.h ++++ b/include/GL/glew.h +@@ -93,7 +93,7 @@ + #if defined(__REGAL_H__) + #error Regal.h included before glew.h + #endif +-#if defined(__glext_h_) || defined(__GLEXT_H_) ++#if defined(__glext_h_) || defined(__GLEXT_H_) || defined(__gl_glext_h_) + #error glext.h included before glew.h + #endif + #if defined(__gl_ATI_h_) +@@ -109,6 +109,7 @@ + #define __X_GL_H + #define __glext_h_ + #define __GLEXT_H_ ++#define __gl_glext_h_ + #define __gl_ATI_h_ + + #if defined(_WIN32) |