gdal: bump java source option

Bump java source option to fix build with JDK 21.

Closes #294940
This commit is contained in:
Ivan Mincik 2024-03-11 18:31:32 +01:00
parent 57df47d918
commit f35a9d2707

View file

@ -2,6 +2,7 @@
, stdenv
, callPackage
, fetchFromGitHub
, fetchpatch
, useMinimalFeatures ? false
, useTiledb ? (!useMinimalFeatures) && !(stdenv.isDarwin && stdenv.isx86_64)
@ -88,6 +89,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-R9VLof13OXPbWGHOG1Q4WZWSPoF739C6WuNWxoIwKTw=";
};
patches = [
# bump java source option to fix build with JDK 21
(fetchpatch {
url = "https://github.com/OSGeo/gdal/commit/ca2eb4130750b0e6365f738a5f8ff77081f5c5bb.patch";
sha256 = "sha256-wShYm9yA7twJR72co+Tvf/IuYXqbI0OrjWl0uqC3bwo=";
})
];
nativeBuildInputs = [
bison
cmake