diff options
author | linimon <linimon@FreeBSD.org> | 2019-01-02 17:32:49 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2019-01-02 17:32:49 +0800 |
commit | be7e7358760c8c1b58e6af9959633e20133db96b (patch) | |
tree | 3ab042f3847e6d0677c03b5037432f2d80a827e7 /java/java3d/files | |
parent | 9827ec14e9671df5892885fef0ea918c5edf3053 (diff) | |
download | freebsd-ports-gnome-be7e7358760c8c1b58e6af9959633e20133db96b.tar.gz freebsd-ports-gnome-be7e7358760c8c1b58e6af9959633e20133db96b.tar.zst freebsd-ports-gnome-be7e7358760c8c1b58e6af9959633e20133db96b.zip |
Correct mistakes made in r484256 by not including newer version of
patch. This correctly fixes the build on powerpc64.
PR: 231946
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'java/java3d/files')
-rw-r--r-- | java/java3d/files/patch-freebsd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java3d/files/patch-freebsd b/java/java3d/files/patch-freebsd index 066f2ac3ebb8..e11a2df2c13c 100644 --- a/java/java3d/files/patch-freebsd +++ b/java/java3d/files/patch-freebsd @@ -126,7 +126,7 @@ diff -ruN ../java3d-1.5.2/j3d-core/src/native/ogl/build-freebsd.xml ./j3d-core/s + + <!-- Compile the c source files--> + <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc"> -+ <arg line="-fPIC -march=k8 -I${oglsrc} -I${ports.localbase}/include -I${java.home}/../include -I${java.home}/../include/freebsd -I${javahCoreTarget} ${bldFlag} -DLINUX ${cflags.cg} -c ${oglsrc}/DrawingSurfaceObjectAWT.c ${oglsrc}/Canvas3D.c ${oglsrc}/GraphicsContext3D.c ${oglsrc}/NativeScreenInfo.c ${oglsrc}/NativeConfigTemplate3D.c ${oglsrc}/MasterControl.c ${oglsrc}/GeometryArrayRetained.c ${oglsrc}/Attributes.c ${oglsrc}/CgShaderProgram.c ${oglsrc}/GLSLShaderProgram.c ${oglsrc}/Lights.c"/> ++ <arg line="-fPIC -I${oglsrc} -I${ports.localbase}/include -I${java.home}/../include -I${java.home}/../include/freebsd -I${javahCoreTarget} ${bldFlag} -DLINUX ${cflags.cg} -c ${oglsrc}/DrawingSurfaceObjectAWT.c ${oglsrc}/Canvas3D.c ${oglsrc}/GraphicsContext3D.c ${oglsrc}/NativeScreenInfo.c ${oglsrc}/NativeConfigTemplate3D.c ${oglsrc}/MasterControl.c ${oglsrc}/GeometryArrayRetained.c ${oglsrc}/Attributes.c ${oglsrc}/CgShaderProgram.c ${oglsrc}/GLSLShaderProgram.c ${oglsrc}/Lights.c"/> + </exec> + + <!-- Create the library file--> @@ -139,7 +139,7 @@ diff -ruN ../java3d-1.5.2/j3d-core/src/native/ogl/build-freebsd.xml ./j3d-core/s + <target name="compile-ogl-cg" if="build.cg"> + <!-- Compile the wrapper --> + <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc"> -+ <arg line="-march=k8 -I${oglsrc} -I${java.home}/../include -I${java.home}/../include/freebsd -I${javahCoreTarget} ${bldFlag} -DLINUX ${cflags.cg} -c ${oglsrc}/CgWrapper.c"/> ++ <arg line="-I${oglsrc} -I${java.home}/../include -I${java.home}/../include/freebsd -I${javahCoreTarget} ${bldFlag} -DLINUX ${cflags.cg} -c ${oglsrc}/CgWrapper.c"/> + </exec> + + <!-- Create the wrapper library --> |