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