Index: files/patch-SDL_x11gl_c.h.diff
===================================================================
--- files/patch-SDL_x11gl_c.h.diff	(revision 0)
+++ files/patch-SDL_x11gl_c.h.diff	(revision 0)
@@ -0,0 +1,10 @@
+--- src/video/x11/SDL_x11gl_c.h.orig	2007-12-31 15:48:13.000000000 +1100
++++ src/video/x11/SDL_x11gl_c.h	2009-03-25 05:53:09.000000000 +1100
+@@ -23,6 +23,7 @@
+ 
+ #if SDL_VIDEO_OPENGL_GLX
+ #include <GL/glx.h>
++#include <GL/glxtokens.h>
+ #include "SDL_loadso.h"
+ #endif
+ 
Index: Portfile
===================================================================
--- Portfile	(revision 48535)
+++ Portfile	(working copy)
@@ -31,6 +31,8 @@
 	port:xorg-libXrandr \
 	port:xrender
 
+patchfiles      patch-SDL_x11gl_c.h.diff
+
 configure.args  --enable-shared \
                 --mandir=${prefix}/share/man
 

