From 88686440b03559aa74f098849c09350572b62d8c Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Thu, 29 Oct 2020 22:21:58 +0000 Subject: java/java3d: fix build on GCC architectures Use C11 compiler: [exec] from /wrkdirs/usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/src/native/ogl/Canvas3D.c:47: [exec] /usr/local/include/GL/glext.h:469: error: redefinition of typedef 'GLsizeiptr' [exec] /wrkdirs/usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/src/native/ogl/gldefs.h:70: error: previous declaration of 'GLsizeiptr' was here --- java/java3d/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/java3d') diff --git a/java/java3d/Makefile b/java/java3d/Makefile index 2e73457a88f1..b3bf1a57bc68 100644 --- a/java/java3d/Makefile +++ b/java/java3d/Makefile @@ -17,7 +17,7 @@ BROKEN_aarch64= fails to compile: GVector.java:168: bad use of '>' BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details -USES= gl tar:bzip2 xorg +USES= compiler:c11 gl tar:bzip2 xorg USE_JAVA= 8 USE_GL= gl USE_XORG= xt -- cgit v1.2.3