Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-08-02 13:46:36 +00:00
107 changed files with 1438 additions and 783 deletions
+2 -8
View File
@@ -6,12 +6,12 @@
}:
composableDerivation.composableDerivation {} (fixed: rec {
version = "2.0.2";
version = "2.1.1";
name = "gdal-${version}";
src = fetchurl {
url = "http://download.osgeo.org/gdal/${version}/${name}.tar.gz";
sha256 = "db7722caf8d9dd798ec18012b9cacf40a518918466126a88b9fd277bd7d40cc4";
sha256 = "55fc6ffbe76e9d2e7e6cf637010e5d4bba6a966d065f40194ff798544198236b";
};
buildInputs = [ unzip libjpeg libtiff libpng proj openssl ]
@@ -20,12 +20,6 @@ composableDerivation.composableDerivation {} (fixed: rec {
hardeningDisable = [ "format" ];
patches = [
# This ensures that the python package is installed into gdal's prefix,
# rather than trying to install into python's prefix.
./python.patch
];
# Don't use optimization for gcc >= 4.3. That's said to be causing segfaults.
# Unset CC and CXX as they confuse libtool.
preConfigure = "export CFLAGS=-O0 CXXFLAGS=-O0; unset CC CXX";