Page MenuHomeFreeBSD

java/eclipse: fix build
ClosedPublic

Authored by pkubaj on Jun 16 2019, 9:24 PM.
Tags
None
Referenced Files
F162223462: D20667.id58719.diff
Sat, Jul 11, 1:20 AM
Unknown Object (File)
Thu, Jul 9, 10:56 PM
Unknown Object (File)
Thu, Jul 9, 1:43 PM
Unknown Object (File)
Sat, Jul 4, 9:28 PM
Unknown Object (File)
Thu, Jul 2, 11:24 PM
Unknown Object (File)
Wed, Jul 1, 9:54 AM
Unknown Object (File)
Wed, Jul 1, 2:02 AM
Unknown Object (File)
Tue, Jun 30, 4:56 AM
Subscribers
None

Details

Summary

Eclipse now needs C11-capable compiler:

[exec] /usr/local/include/webkitgtk-4.0/jsc/JSCClass.h:37: error: redefinition of typedef 'JSCClass'
[exec] /usr/local/include/webkitgtk-4.0/jsc/JSCValue.h:43: error: previous declaration of 'JSCClass' was here
[exec] /usr/local/include/webkitgtk-4.0/jsc/JSCClass.h:40: error: redefinition of typedef 'JSCContext'
[exec] /usr/local/include/webkitgtk-4.0/jsc/JSCValue.h:44: error: previous declaration of 'JSCContext' was here

Also, remove setting CC=gcc from files/patch-eclipse.platform.swt and add CC=${CC} to MAVEN_ENV. This is to actually use the new GCC from ports.

PR: 238489

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 16 2019, 10:40 PM
This revision was automatically updated to reflect the committed changes.