Ticket #18955: libsdl-glxtokens.diff

File libsdl-glxtokens.diff, 827 bytes (added by jmroot (Joshua Root), 16 years ago)
  • files/patch-SDL_x11gl_c.h.diff

     
     1--- src/video/x11/SDL_x11gl_c.h.orig    2007-12-31 15:48:13.000000000 +1100
     2+++ src/video/x11/SDL_x11gl_c.h 2009-03-25 05:53:09.000000000 +1100
     3@@ -23,6 +23,7 @@
     4 
     5 #if SDL_VIDEO_OPENGL_GLX
     6 #include <GL/glx.h>
     7+#include <GL/glxtokens.h>
     8 #include "SDL_loadso.h"
     9 #endif
     10 
  • Portfile

     
    3131        port:xorg-libXrandr \
    3232        port:xrender
    3333
     34patchfiles      patch-SDL_x11gl_c.h.diff
     35
    3436configure.args  --enable-shared \
    3537                --mandir=${prefix}/share/man
    3638