pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/love09 love09: fix build with the mesa in netbsd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37f5708fc6db
branches:  trunk
changeset: 446319:37f5708fc6db
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Feb 06 14:27:41 2021 +0000

description:
love09: fix build with the mesa in netbsd-current
Add missing PLIST entry from my previous commit, oops.

diffstat:

 games/love09/PLIST                                            |   3 +-
 games/love09/distinfo                                         |   3 +-
 games/love09/patches/patch-src_modules_graphics_opengl_GLee.h |  16 +++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 3bc6e3a1b1e4 -r 37f5708fc6db games/love09/PLIST
--- a/games/love09/PLIST        Sat Feb 06 13:56:35 2021 +0000
+++ b/games/love09/PLIST        Sat Feb 06 14:27:41 2021 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/30 19:17:24 maya Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/02/06 14:27:41 maya Exp $
+bin/love0.9
 love0.9/bin/love
 love0.9/lib/liblove.la
 love0.9/man/man1/love.1
diff -r 3bc6e3a1b1e4 -r 37f5708fc6db games/love09/distinfo
--- a/games/love09/distinfo     Sat Feb 06 13:56:35 2021 +0000
+++ b/games/love09/distinfo     Sat Feb 06 14:27:41 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2018/10/01 23:20:41 maya Exp $
+$NetBSD: distinfo,v 1.3 2021/02/06 14:27:41 maya Exp $
 
 SHA1 (love-0.9.2-linux-src.tar.gz) = ed4479cc44f7f38d733c6e2ba1d54d0c5f80abde
 RMD160 (love-0.9.2-linux-src.tar.gz) = c6aa9b2d1d5c01670c331e59668c8ea92992b326
 SHA512 (love-0.9.2-linux-src.tar.gz) = a6948eb77334b1a73a3595268eca8bd7a04a723e9e027ef4b1b8133b4365c06b0a0c4d4e09040ab74bd1f8564d70ec8d07c61aa67d75d86ecba41b2baca629ab
 Size (love-0.9.2-linux-src.tar.gz) = 1451535 bytes
 SHA1 (patch-src_common_config.h) = 93ce979d98590ca74e0437f5a265eec093073f80
+SHA1 (patch-src_modules_graphics_opengl_GLee.h) = 2df270c36babd5b85fa6b77f359af1abafe78812
diff -r 3bc6e3a1b1e4 -r 37f5708fc6db games/love09/patches/patch-src_modules_graphics_opengl_GLee.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love09/patches/patch-src_modules_graphics_opengl_GLee.h     Sat Feb 06 14:27:41 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_modules_graphics_opengl_GLee.h,v 1.1 2021/02/06 14:27:41 maya Exp $
+
+Newer mesa seems to use different include guards, add those as well.
+
+--- src/modules/graphics/opengl/GLee.h.orig    2015-01-15 09:39:26.000000000 +0000
++++ src/modules/graphics/opengl/GLee.h
+@@ -61,7 +61,9 @@
+       #include <OpenGL/gl.h>
+ #else // GLX
+       #define __glext_h_  /* prevent glext.h from being included  */
++      #define __gl_glext_h_  /* prevent glext.h from being included - newer version */
+       #define __glxext_h_ /* prevent glxext.h from being included */
++      #define __glx_glxext_h_ /* prevent glxext.h from being included - newer version */
+       #define GLX_GLXEXT_PROTOTYPES
+       #include <GL/gl.h>
+       #include <GL/glx.h>



Home | Main Index | Thread Index | Old Index