File java-3d-glxext.patch of Package java-3d
Index: java3d-1.5.2/j3d-core/src/native/ogl/gldefs.h =================================================================== --- java3d-1.5.2.orig/j3d-core/src/native/ogl/gldefs.h +++ java3d-1.5.2/j3d-core/src/native/ogl/gldefs.h @@ -66,11 +66,16 @@ #include <X11/Xutil.h> #include <GL/gl.h> +#ifndef GL_VERSION_1_5 +#define GL_VERSION_1_5 +typedef ptrdiff_t GLsizeiptr; +typedef ptrdiff_t GLintptr; +#endif #include <GL/glx.h> #ifdef Java3D_undef__glext_h_ #undef __glext_h_ #endif -#include "glext.h" +#include <GL/glext.h> #endif #ifdef WIN32