Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2020 22:21:58 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553649 - head/java/java3d
Message-ID:  <202010292221.09TMLwhw078968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Oct 29 22:21:58 2020
New Revision: 553649
URL: https://svnweb.freebsd.org/changeset/ports/553649

Log:
  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

Modified:
  head/java/java3d/Makefile

Modified: head/java/java3d/Makefile
==============================================================================
--- head/java/java3d/Makefile	Thu Oct 29 22:20:45 2020	(r553648)
+++ head/java/java3d/Makefile	Thu Oct 29 22:21:58 2020	(r553649)
@@ -17,7 +17,7 @@ BROKEN_aarch64=		fails to compile: GVector.java:168: b
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010292221.09TMLwhw078968>