Check for symbol existence with #ifdef, not #if.
Needed since some other files only #define the symbol without a value. Bump PKGREVISION since this changes an installed header file.
This commit is contained in:
parent
8ea7a5a158
commit
485d44ac56
2 changed files with 18 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.92 2013/05/27 06:45:30 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.93 2013/06/13 14:16:21 wiz Exp $
|
||||
|
||||
PKGNAME= MesaLib-${MESA_PKGVERSION}
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
COMMENT= Graphics library similar to SGI's OpenGL
|
||||
|
||||
CONFLICTS+= xf86driproto<2.0.4
|
||||
|
|
16
graphics/MesaLib/patches/patch-include_GL_gl.h
Normal file
16
graphics/MesaLib/patches/patch-include_GL_gl.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
$NetBSD: patch-include_GL_gl.h,v 1.1 2013/06/13 14:16:21 wiz Exp $
|
||||
|
||||
Check for symbol existence with #ifdef, not #if.
|
||||
Needed since some other files only #define the symbol without a value.
|
||||
|
||||
--- include/GL/gl.h.orig 2011-11-23 01:09:52.000000000 +0000
|
||||
+++ include/GL/gl.h
|
||||
@@ -2094,7 +2094,7 @@ typedef void (APIENTRYP PFNGLMULTITEXCOO
|
||||
|
||||
|
||||
|
||||
-#if GL_ARB_shader_objects
|
||||
+#ifdef GL_ARB_shader_objects
|
||||
|
||||
#ifndef GL_MESA_shader_debug
|
||||
#define GL_MESA_shader_debug 1
|
Loading…
Reference in a new issue