summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2019-12-22 22:26:04 +0000
committerjoerg <joerg@pkgsrc.org>2019-12-22 22:26:04 +0000
commit2f430fc68ff962cdf4cadad6d0a9295cc81cc958 (patch)
tree6177c579330d7464e745256e6ec95ffdb769ca74
parent0362e013f3c698b73ec1db981ba2915a992917ed (diff)
downloadpkgsrc-2f430fc68ff962cdf4cadad6d0a9295cc81cc958.tar.gz
Request GL extensions in a way modern Mesa understands.
-rw-r--r--games/love07/distinfo4
-rw-r--r--games/love07/patches/patch-src_modules_graphics_opengl_GLee.h12
-rw-r--r--games/love08/distinfo3
-rw-r--r--games/love08/patches/patch-src_modules_graphics_opengl_GLee.h12
4 files changed, 29 insertions, 2 deletions
diff --git a/games/love07/distinfo b/games/love07/distinfo
index 158a7d1ff4b..4aac3833f3b 100644
--- a/games/love07/distinfo
+++ b/games/love07/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2018/09/30 19:10:10 maya Exp $
+$NetBSD: distinfo,v 1.2 2019/12/22 22:26:04 joerg Exp $
SHA1 (love-0.7.2-linux-src.tar.gz) = 876f527fc6908a6dd462080aa599ffa1ad47afa5
RMD160 (love-0.7.2-linux-src.tar.gz) = e976925fd67e5c7714438c5135b516fb9c9bdc9a
@@ -9,6 +9,8 @@ SHA1 (patch-src_love.cpp) = 21d180811e7e9dddfb136a1fd6f449d568ca016a
SHA1 (patch-src_modules_audio_openal_Audio.h) = 5af2420188c5245767ab8425113386a4fe25a312
SHA1 (patch-src_modules_audio_openal_Pool.h) = 89c0cce11a2ca9ac88e6e9388fe02f0229cfe887
SHA1 (patch-src_modules_event_sdl_Event.h) = b3609e5490c401b45a46c0b054c9155f7b02e3d7
+SHA1 (patch-src_modules_graphics_opengl_Framebuffer.cpp) = da39a3ee5e6b4b0d3255bfef95601890afd80709
+SHA1 (patch-src_modules_graphics_opengl_GLee.h) = 335cdd70352ab110c92da80b1755324e1beb4d0d
SHA1 (patch-src_modules_graphics_opengl_Graphics.h) = 040566b7bb98f877f3f8134ab875b0c9115c256e
SHA1 (patch-src_modules_graphics_opengl_ParticleSystem.cpp) = 6b640ce319d3bd26ff1238522d772bf70a1f17b2
SHA1 (patch-src_modules_joystick_sdl_Joystick.h) = e49e7721986638f51f38891dfb5e707c67ab64cc
diff --git a/games/love07/patches/patch-src_modules_graphics_opengl_GLee.h b/games/love07/patches/patch-src_modules_graphics_opengl_GLee.h
new file mode 100644
index 00000000000..d9aec63ff41
--- /dev/null
+++ b/games/love07/patches/patch-src_modules_graphics_opengl_GLee.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_modules_graphics_opengl_GLee.h,v 1.1 2019/12/22 22:26:04 joerg Exp $
+
+--- src/modules/graphics/opengl/GLee.h.orig 2019-12-22 20:20:40.498620352 +0000
++++ src/modules/graphics/opengl/GLee.h
+@@ -65,6 +65,7 @@
+ #define __glext_h_ /* prevent glext.h from being included */
+ #define __glxext_h_ /* prevent glxext.h from being included */
+ #define GLX_GLXEXT_PROTOTYPES
++ #define GL_GLEXT_PROTOTYPES
+ #include <GL/gl.h>
+ #include <GL/glx.h>
+ #endif
diff --git a/games/love08/distinfo b/games/love08/distinfo
index 21d43fc48ec..49ddc7bcf22 100644
--- a/games/love08/distinfo
+++ b/games/love08/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2018/09/30 19:12:48 maya Exp $
+$NetBSD: distinfo,v 1.2 2019/12/22 22:26:04 joerg Exp $
SHA1 (love-0.8.0-linux-src.tar.gz) = 8c6ad95b7b0e3c6530b4778b9523f126ba9c9d90
RMD160 (love-0.8.0-linux-src.tar.gz) = 6dcb62db2fcc41d7a5b4e705f5e7bf6ea89b6835
@@ -8,6 +8,7 @@ SHA1 (patch-configure) = 2bb00cce268a4b480c9a123466a8de4e7fc46e7c
SHA1 (patch-src_love.cpp) = 56ae7fef23a961d7d17f74d40dc20a9eea1a10aa
SHA1 (patch-src_modules_event_sdl_Event.h) = b3609e5490c401b45a46c0b054c9155f7b02e3d7
SHA1 (patch-src_modules_filesystem_physfs_wrap__Filesystem.h) = fce343abceeed90fcf6920a220051ff36f2f4fbb
+SHA1 (patch-src_modules_graphics_opengl_GLee.h) = 7104166dbb48949b3b7caa4daa07200c523dcfdc
SHA1 (patch-src_modules_joystick_sdl_Joystick.h) = e49e7721986638f51f38891dfb5e707c67ab64cc
SHA1 (patch-src_modules_keyboard_sdl_Keyboard.h) = 229d0fdb7de9e124962e272ea3893bef65bfa724
SHA1 (patch-src_modules_mouse_sdl_Mouse.cpp) = 45bc1ec64f9f6d697c9a5075a08729a724c3f15e
diff --git a/games/love08/patches/patch-src_modules_graphics_opengl_GLee.h b/games/love08/patches/patch-src_modules_graphics_opengl_GLee.h
new file mode 100644
index 00000000000..28bc3f1669d
--- /dev/null
+++ b/games/love08/patches/patch-src_modules_graphics_opengl_GLee.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_modules_graphics_opengl_GLee.h,v 1.1 2019/12/22 22:26:04 joerg Exp $
+
+--- src/modules/graphics/opengl/GLee.h.orig 2019-12-22 20:30:38.244861354 +0000
++++ src/modules/graphics/opengl/GLee.h
+@@ -65,6 +65,7 @@
+ #define __glext_h_ /* prevent glext.h from being included */
+ #define __glxext_h_ /* prevent glxext.h from being included */
+ #define GLX_GLXEXT_PROTOTYPES
++ #define GL_GLEXT_PROTOTYPES
+ #include <GL/gl.h>
+ #include <GL/glx.h>
+ #endif