Work around build breakage with recent Mesa 3D.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765933
https://bugs.freedesktop.org/show_bug.cgi?id=83631

Obtained from:	Debian Project
This commit is contained in:
Jung-uk Kim
2015-02-05 21:46:48 +00:00
parent 52f6cce175
commit 5f7d5d4997

View File

@@ -0,0 +1,11 @@
--- j3d-core/src/native/ogl/gldefs.h.orig 2008-02-28 15:18:01.000000000 -0500
+++ j3d-core/src/native/ogl/gldefs.h 2015-02-05 16:38:10.813942000 -0500
@@ -65,6 +65,8 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+typedef ptrdiff_t GLsizeiptr;
+typedef ptrdiff_t GLintptr;
#include <GL/gl.h>
#include <GL/glx.h>
#ifdef Java3D_undef__glext_h_