Merge pull request #287454 from trofi/openjfx17-gcc-13-webkit-fix
openjfx17: fix `withWebKit = true` build
This commit is contained in:
commit
47423f1598
2 changed files with 8 additions and 1 deletions
|
@ -41,6 +41,13 @@ let
|
|||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
postPatch = ''
|
||||
# Add missing includes for gcc-13 for webkit build:
|
||||
sed -e '1i #include <cstdio>' \
|
||||
-i modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp \
|
||||
modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoSharedPageInlines.h
|
||||
'';
|
||||
|
||||
config = writeText "gradle.properties" (''
|
||||
CONF = Release
|
||||
JDK_HOME = ${openjdk17_headless.home}
|
||||
|
|
|
@ -16367,7 +16367,7 @@ with pkgs;
|
|||
hugs = callPackage ../development/interpreters/hugs { };
|
||||
|
||||
inherit (javaPackages) openjfx11 openjfx15 openjfx17 openjfx19 openjfx20 openjfx21;
|
||||
openjfx = pin-to-gcc12-if-gcc13 (openjfx17.override { });
|
||||
openjfx = openjfx17;
|
||||
|
||||
openjdk8-bootstrap = javaPackages.compiler.openjdk8-bootstrap;
|
||||
openjdk8 = javaPackages.compiler.openjdk8;
|
||||
|
|
Loading…
Reference in a new issue