From 3159c4ba7bdf0844564c4c3d8839117b8c021147 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Tue, 14 Feb 2017 17:12:18 +0100
Subject: [PATCH] SuperBuild: upgrade to GDAL 2.1.3

---
 SuperBuild/CMake/External_gdal.cmake                 | 4 ++--
 SuperBuild/patches/GDAL/gdal-fix-rpath-for-macx.diff | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/SuperBuild/CMake/External_gdal.cmake b/SuperBuild/CMake/External_gdal.cmake
index d8db8f1e3f..840cb5faaa 100644
--- a/SuperBuild/CMake/External_gdal.cmake
+++ b/SuperBuild/CMake/External_gdal.cmake
@@ -115,8 +115,8 @@ endif()
 
 ExternalProject_Add(GDAL
   PREFIX GDAL
-  URL "http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0.tar.gz"
-  URL_MD5 0fc165cd947c54b132204233dfb243f1
+  URL "http://download.osgeo.org/gdal/2.1.3/gdal-2.1.3.tar.gz"
+  URL_MD5 e5057f6011b720cfbbebbbbf216c0ffe
   SOURCE_DIR ${GDAL_SB_SRC}
   BINARY_DIR ${GDAL_SB_SRC}
   INSTALL_DIR ${SB_INSTALL_PREFIX}
diff --git a/SuperBuild/patches/GDAL/gdal-fix-rpath-for-macx.diff b/SuperBuild/patches/GDAL/gdal-fix-rpath-for-macx.diff
index f122ad7609..881252e693 100755
--- a/SuperBuild/patches/GDAL/gdal-fix-rpath-for-macx.diff
+++ b/SuperBuild/patches/GDAL/gdal-fix-rpath-for-macx.diff
@@ -1,7 +1,7 @@
 diff -burN gdal-1.11.2.orig/configure gdal-1.11.2/configure
 --- gdal-1.11.2.orig/configure	2016-04-19 12:27:26.000000000 +0200
 +++ gdal-1.11.2/configure	2016-04-19 13:05:25.000000000 +0200
-@@ -10595,9 +10595,9 @@
+@@ -11433,9 +11433,9 @@
    esac
    if test "$_lt_dar_can_shared" = "yes"; then
      output_verbose_link_cmd=func_echo_all
@@ -13,7 +13,7 @@ diff -burN gdal-1.11.2.orig/configure gdal-1.11.2/configure
      module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
    else
-@@ -13542,13 +13542,13 @@
+@@ -14380,13 +14380,13 @@
    esac
    if test "$_lt_dar_can_shared" = "yes"; then
      output_verbose_link_cmd=func_echo_all
-- 
GitLab