gdal_1_11: 1.11.3 -> 1.11.5

fortify is disabled because it is incompatible with -O0 (set below).
This commit is contained in:
Orivej Desh 2018-08-08 23:15:23 +00:00
parent 970d5ef198
commit 50f3d41563

View file

@ -3,12 +3,12 @@
, libpng }:
stdenv.mkDerivation rec {
version = "1.11.3";
name = "gdal-${version}";
version = "1.11.5";
src = fetchurl {
url = "https://download.osgeo.org/gdal/${version}/${name}.tar.gz";
sha256 = "561588bdfd9ca91919d4679a77a2b44214b158934ee8b425295ca5be33a1014d";
url = "https://download.osgeo.org/gdal/${version}/${name}.tar.xz";
sha256 = "0hphxzvy23v3vqxx1y22hhhg4cypihrb8555y12nb4mrhzlw7zfl";
};
buildInputs = [ unzip libjpeg libtiff libpng python pythonPackages.numpy proj openssl ];
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
./python.patch
];
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" "fortify" ];
# Don't use optimization for gcc >= 4.3. That's said to be causing segfaults.
# Unset CC and CXX as they confuse libtool.
@ -51,6 +51,8 @@ stdenv.mkDerivation rec {
export PYTHONPATH=''${PYTHONPATH:+''${PYTHONPATH}:}$pythonInstallDir
'';
enableParallelBuilding = true;
meta = {
description = "Translator library for raster geospatial data formats";
homepage = http://www.gdal.org/;