vtk: fixup build with gcc13, again

I forgot to commit a part of the change :-/
This commit is contained in:
Vladimír Čunát 2024-01-11 13:28:16 +01:00
parent 5ee7600250
commit 048da68103
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -58,7 +58,8 @@ in stdenv.mkDerivation {
# GCC 13: error: 'int64_t' in namespace 'std' does not name a type
postPatch = ''
sed '1i#include <cstdint>' \
-i ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
-i ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp \
-i IO/Image/vtkSEPReader.h
''
+ optionalString stdenv.isDarwin ''
sed -i 's|COMMAND vtkHashSource|COMMAND "DYLD_LIBRARY_PATH=''${VTK_BINARY_DIR}/lib" ''${VTK_BINARY_DIR}/bin/vtkHashSource-${majorVersion}|' ./Parallel/Core/CMakeLists.txt