$NetBSD: patch-ab,v 1.2 2009/08/21 15:02:32 adam Exp $

--- include/GL/glew.h.orig	2007-12-28 04:09:49.000000000 +0100
+++ include/GL/glew.h
@@ -10763,8 +10763,13 @@ GLEWAPI const GLubyte* glewGetString (GL
 
 #ifdef GLEW_APIENTRY_DEFINED
 #undef GLEW_APIENTRY_DEFINED
+/*
+Defining these, including glu.h which includes gl.h, and then undefining them
+leads to them staying undefined, as even if the app later includes gl.h it
+will leave them alone due to multiple include protection
 #undef APIENTRY
 #undef GLAPIENTRY
+*/
 #endif
 
 #ifdef GLEW_CALLBACK_DEFINED
