From 22910f5d14da606bd7f06e19a2f61c5d1a8fc94b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 May 2018 15:22:17 +0100 Subject: gentoo resync : 25.05.2018 --- .../files/paraview-5.5.0-allow_custom_build_type.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sci-visualization/paraview/files/paraview-5.5.0-allow_custom_build_type.patch (limited to 'sci-visualization/paraview/files') diff --git a/sci-visualization/paraview/files/paraview-5.5.0-allow_custom_build_type.patch b/sci-visualization/paraview/files/paraview-5.5.0-allow_custom_build_type.patch new file mode 100644 index 000000000000..1549e58af865 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-5.5.0-allow_custom_build_type.patch @@ -0,0 +1,18 @@ +diff -urNd ParaView-v5.5.0/VTK/ThirdParty/eigen/vtkeigen/CMakeLists.txt ParaView-v5.5.0-fix/VTK/ThirdParty/eigen/vtkeigen/CMakeLists.txt +--- ParaView-v5.5.0/VTK/ThirdParty/eigen/vtkeigen/CMakeLists.txt 2018-04-07 06:03:33.000000000 +1000 ++++ ParaView-v5.5.0-fix/VTK/ThirdParty/eigen/vtkeigen/CMakeLists.txt 2018-04-10 16:19:08.841144557 +1000 +@@ -21,14 +21,6 @@ + set(CMAKE_BUILD_TYPE "Release") + endif() + +-string(TOLOWER "${CMAKE_BUILD_TYPE}" cmake_build_type_tolower) +-if( NOT cmake_build_type_tolower STREQUAL "debug" +- AND NOT cmake_build_type_tolower STREQUAL "release" +- AND NOT cmake_build_type_tolower STREQUAL "relwithdebinfo") +- message(FATAL_ERROR "Unknown build type \"${CMAKE_BUILD_TYPE}\". Allowed values are Debug, Release, RelWithDebInfo (case-insensitive).") +-endif() +- +- + ############################################################################# + # retrieve version infomation # + ############################################################################# -- cgit v1.2.3