From e1a18e8671649567ead79633dd5a0dc42c4e3398 Mon Sep 17 00:00:00 2001 From: Tom Wright Date: Tue, 9 May 2017 14:12:09 -0400 Subject: [PATCH 1/2] Update git repo source --- SuperBuild/External_VTK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SuperBuild/External_VTK.cmake b/SuperBuild/External_VTK.cmake index 3568e5760..83f64569e 100644 --- a/SuperBuild/External_VTK.cmake +++ b/SuperBuild/External_VTK.cmake @@ -101,7 +101,7 @@ if((NOT DEFINED VTK_DIR OR NOT DEFINED VTK_SOURCE_DIR) AND NOT ${CMAKE_PROJECT_N endif() # set(${proj}_GIT_REPOSITORY "${git_protocol}://github.com/Slicer/VTK.git" CACHE STRING "Repository from which to get VTK" FORCE) # set(${proj}_GIT_TAG "ea7cdc4e0b399be244e79392c67fed068c33e454") # VTK 20141221 - set(${proj}_GIT_REPOSITORY "${git_protocol}://vtk.org/VTK.git" CACHE STRING "Repository from which to get VTK" FORCE) + set(${proj}_GIT_REPOSITORY "${git_protocol}://gitlab.kitware.com/vtk/VTK.git" CACHE STRING "Repository from which to get VTK" FORCE) set(${proj}_GIT_TAG "da7bcf245ed84e7445bf5f6b66c55fe7811d6eff") # VTK 20161215 ExternalProject_Add(${proj} From e6749a34b01f696d6bf5626c5b546c24a14a41f1 Mon Sep 17 00:00:00 2001 From: Tom Wright Date: Tue, 9 May 2017 14:13:46 -0400 Subject: [PATCH 2/2] Fix for older c++ --- DWIConvert/TestSuite/checkTagValueInHeader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DWIConvert/TestSuite/checkTagValueInHeader.cxx b/DWIConvert/TestSuite/checkTagValueInHeader.cxx index c2f103dc7..ce7a1b424 100644 --- a/DWIConvert/TestSuite/checkTagValueInHeader.cxx +++ b/DWIConvert/TestSuite/checkTagValueInHeader.cxx @@ -72,7 +72,7 @@ int main(int argc, char * argv[]) } //read file - std::ifstream file(inputFilename); + std::ifstream file(inputFilename.c_str()); std::string lineText; while (std::getline(file, lineText)) {