glew/glew-2.2.0-mesa-24.patch
Otto Hollmann 6857d3a9a2 Accepting request 1159858 from home:sndirsch:branches:multimedia:libs
- Add patch glew-2.2.0-mesa-24.patch
  * Do not undefine APIENTRY macro if GLAPIENTRY is still defined 
    (boo#1221744)

- Install missing header file (from david.lanzendoerfer@o2s.ch)

OBS-URL: https://build.opensuse.org/request/show/1159858
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/glew?expand=0&rev=60
2024-03-21 08:58:56 +00:00

18 lines
423 B
Diff

---
glew-2.2.0/include/GL/glew.h | 2 ++
1 file changed, 2 insertions(+)
--- glew-2.2.0/include/GL/glew.h
+++ glew-2.2.0/include/GL/glew.h 2024-03-20 12:42:28.712954164 +0000
@@ -26408,8 +26408,10 @@ GLEWAPI const GLubyte * GLEWAPIENTRY gle
#ifdef GLEW_APIENTRY_DEFINED
#undef GLEW_APIENTRY_DEFINED
+#ifndef GLAPIENTRY
#undef APIENTRY
#endif
+#endif
#ifdef GLEW_CALLBACK_DEFINED
#undef GLEW_CALLBACK_DEFINED