Patched to compile on FreeBSD 8.2.
--- a/include/SDL_opengl.h Wed Jul 11 22:04:19 2012 -0400
+++ b/include/SDL_opengl.h Wed Jul 11 22:20:02 2012 -0400
@@ -44,6 +44,10 @@
#define NO_SDL_GLEXT 1
#endif
+#ifdef __FreeBSD__ /* !!! FIXME: temp compiler warning fix... */
+#define NO_SDL_GLEXT 1
+#endif
+
#ifdef __glext_h_
/* Someone has already included glext.h */
#define NO_SDL_GLEXT
--- a/src/video/x11/SDL_x11opengl.c Wed Jul 11 22:04:19 2012 -0400
+++ b/src/video/x11/SDL_x11opengl.c Wed Jul 11 22:20:02 2012 -0400
@@ -75,6 +75,7 @@
Bool direct,
const int
*attrib_list);
+#endif
#ifndef GLX_ARB_create_context_profile
#define GLX_ARB_create_context_profile
@@ -90,7 +91,6 @@
#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
#endif
-#endif
#ifndef GLX_EXT_create_context_es2_profile
#define GLX_EXT_create_context_es2_profile