From e5a5fc85b69fb2a2b013928723318655d1b7124b Mon Sep 17 00:00:00 2001
From: Jordi Inglada <jordi.inglada@cesbio.cnes.fr>
Date: Wed, 10 Jan 2018 10:28:09 +0100
Subject: [PATCH] COMP: update Shark version in Superbuild for new RF
 implementation

---
 SuperBuild/CMake/External_shark.cmake            |  4 ++--
 .../patches/SHARK/shark-2-find-boost-all.diff    | 16 ----------------
 2 files changed, 2 insertions(+), 18 deletions(-)
 delete mode 100644 SuperBuild/patches/SHARK/shark-2-find-boost-all.diff

diff --git a/SuperBuild/CMake/External_shark.cmake b/SuperBuild/CMake/External_shark.cmake
index ce8486db08..47f07c0b09 100644
--- a/SuperBuild/CMake/External_shark.cmake
+++ b/SuperBuild/CMake/External_shark.cmake
@@ -30,8 +30,8 @@ ADD_SUPERBUILD_CMAKE_VAR(SHARK BOOST_LIBRARYDIR)
 
 ExternalProject_Add(SHARK
   PREFIX SHARK
-  URL "https://github.com/Shark-ML/Shark/archive/349f29bd71c370e0f88f7fc9aa66fa5c4768fcb0.zip"
-  URL_MD5 d6e4310f943e8dda4a0151612b5c62ce
+  URL "https://github.com/Shark-ML/Shark/archive/a0d1f816f474b968adbf7592bff199a96a87efc1.zip"
+  URL_MD5 ed0e8eb73743b39a93775599761a9273
   SOURCE_DIR ${SHARK_SB_SRC}
   BINARY_DIR ${SHARK_SB_BUILD_DIR}
   INSTALL_DIR ${SB_INSTALL_PREFIX}
diff --git a/SuperBuild/patches/SHARK/shark-2-find-boost-all.diff b/SuperBuild/patches/SHARK/shark-2-find-boost-all.diff
deleted file mode 100644
index a97c1ac4af..0000000000
--- a/SuperBuild/patches/SHARK/shark-2-find-boost-all.diff
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -burN Shark-349f29bd71c370e0f88f7fc9aa66fa5c4768fcb0.orig/CMakeLists.txt Shark-349f29bd71c370e0f88f7fc9aa66fa5c4768fcb0/CMakeLists.txt
---- Shark-349f29bd71c370e0f88f7fc9aa66fa5c4768fcb0.orig/CMakeLists.txt	2017-08-22 11:31:50.472052695 +0200
-+++ Shark-349f29bd71c370e0f88f7fc9aa66fa5c4768fcb0/CMakeLists.txt	2017-08-22 11:32:36.448358789 +0200
-@@ -141,10 +141,8 @@
- 
- find_package( 
- 	Boost 1.48.0 REQUIRED COMPONENTS
--	system date_time filesystem
--	program_options serialization thread
--	unit_test_framework
--)
-+	serialization
-+	)
- 
- if(NOT Boost_FOUND)
- 	message(FATAL_ERROR "Please make sure Boost 1.48.0 is installed on your system")
-- 
GitLab