aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-02-05 21:46:48 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-02-05 21:46:48 +0000
commit5f7d5d4997347e472bcafa6e278722558e0c91a8 (patch)
tree935e328ba03e924450aa310df3e9f00b5a98189e
parent52f6cce175c6d881bae6dd226097a13629a3febf (diff)
downloadports-5f7d5d4997347e472bcafa6e278722558e0c91a8.tar.gz
ports-5f7d5d4997347e472bcafa6e278722558e0c91a8.zip
Notes
-rw-r--r--java/java3d/files/patch-gldefs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/java3d/files/patch-gldefs.h b/java/java3d/files/patch-gldefs.h
new file mode 100644
index 000000000000..2b0b7ccfc16c
--- /dev/null
+++ b/java/java3d/files/patch-gldefs.h
@@ -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_