From 74dda08adbab61350c1e1cffbd50de535e8d896c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Fri, 21 Aug 2020 13:44:38 +0200 Subject: [PATCH] modified: v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.eb new file: v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.patch --- v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.eb | 4 ++++ v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.patch | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.patch diff --git a/v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.eb b/v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.eb index 4d5e4d32..b87f315f 100644 --- a/v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.eb +++ b/v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.eb @@ -38,6 +38,10 @@ checksums = [ '320562de621a93bc173e6823968353f5ee2cbeac8623093a6057d76cb4315d05', # VTKData-8.1.0.tar.gz ] + +#https://www.paraview.org/pipermail/paraview-developers/2017-March/005199.html +patches = ["VTK-8.1.0-foss-2018a-Python-3.6.6.patch"] + builddependencies = [('CMake', '3.11.4')] dependencies = [ diff --git a/v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.patch b/v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.patch new file mode 100644 index 00000000..e3951b71 --- /dev/null +++ b/v/VTK/VTK-8.1.0-foss-2018a-Python-3.6.6.patch @@ -0,0 +1,19 @@ +--- ThirdParty/hdf5/vtkhdf5/CMakeLists.txt.org 2020-08-17 15:13:30.938786723 +0200 ++++ ThirdParty/hdf5/vtkhdf5/CMakeLists.txt 2020-08-17 15:14:07.401037024 +0200 +@@ -412,14 +412,14 @@ + # timezone is not included in time.h on mingw if -std=c99 + set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -finline-functions -fno-common") + else () +- set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=c99 -finline-functions -fno-common") ++ set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=gnu99 -finline-functions -fno-common") + endif() + else (CMAKE_BUILD_TYPE MATCHES Debug) + if (WIN32) + # timezone is not included in time.h on mingw if -std=c99 + set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -fomit-frame-pointer -finline-functions -fno-common") + else () +- set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=c99 -fomit-frame-pointer -finline-functions -fno-common") ++ set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=gnu99 -fomit-frame-pointer -finline-functions -fno-common") + endif () + endif (CMAKE_BUILD_TYPE MATCHES Debug) + endif (CMAKE_COMPILER_IS_GNUCC)