aboutsummaryrefslogtreecommitdiffstats
path: root/java/java3d
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-02-06 05:46:48 +0800
committerjkim <jkim@FreeBSD.org>2015-02-06 05:46:48 +0800
commit2da7aa1fc571d4299ea21269369eb606cca940c6 (patch)
tree935e328ba03e924450aa310df3e9f00b5a98189e /java/java3d
parent2d7e177dfe3e51c6e3a37277363766b15006e0e8 (diff)
downloadfreebsd-ports-gnome-2da7aa1fc571d4299ea21269369eb606cca940c6.tar.gz
freebsd-ports-gnome-2da7aa1fc571d4299ea21269369eb606cca940c6.tar.zst
freebsd-ports-gnome-2da7aa1fc571d4299ea21269369eb606cca940c6.zip
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
Diffstat (limited to 'java/java3d')
-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_