diff options
author | lilac | 2021-06-22 16:22:32 +0800 |
---|---|---|
committer | lilac | 2021-06-22 16:22:32 +0800 |
commit | aa25a2401bcf24bb3a672473d7fe779668423d72 (patch) | |
tree | cbb71d50df3c41f3f2340e14c397de67f3d07b50 /itk_limits.patch | |
parent | e054ef21657ce09c2988fc41b7e03d0efc29b342 (diff) | |
download | aur-aa25a2401bcf24bb3a672473d7fe779668423d72.tar.gz |
[lilac] updated to 4.11.20210226-3
Diffstat (limited to 'itk_limits.patch')
-rw-r--r-- | itk_limits.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/itk_limits.patch b/itk_limits.patch new file mode 100644 index 000000000000..beaa88722c1c --- /dev/null +++ b/itk_limits.patch @@ -0,0 +1,12 @@ +diff --git a/SuperBuild/External_ITK.cmake b/SuperBuild/External_ITK.cmake +index 222d3a1b0..708748bee 100644 +--- a/SuperBuild/External_ITK.cmake ++++ b/SuperBuild/External_ITK.cmake +@@ -168,6 +168,7 @@ if(NOT DEFINED ITK_DIR AND NOT Slicer_USE_SYSTEM_${proj}) + INSTALL_COMMAND "" + DEPENDS + ${${proj}_DEPENDENCIES} ++ PATCH_COMMAND bash -c "grep -lR 'std::numeric_limits'|xargs sed -i '1 i\#include <limits>'" + ) + + ExternalProject_GenerateProjectDescription_Step(${proj}) |