forked from pool/paraview
61385b347f
* Update to version 5.10.0. * Drop patches incorporated upstream. * Update guides and tutorials. * Update _constraits to require 22 GiB for build to prevent out-of-disk-space build failures. * Add arguments to cmake command to turn off system installed libraries individually where these are not available; specifically turn off system vtkcatalyst, exprtk, fmt, and ioss. * Add paraview-include-sstream.patch -- Add patch from upstream to include missing headers and adapt to apply with p1 (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8597). * Add rpmlintrc snippet to suppress warnings about shared lib versioning: we use a versioning consistent with package major.minor version which is needed due to upstream's otherwise inconsistent so versions, but rpmlint does not like this. OBS-URL: https://build.opensuse.org/request/show/944085 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=99
28 lines
845 B
Diff
28 lines
845 B
Diff
From eb8de75499a23e6e5d4214ec170ad53d510206f7 Mon Sep 17 00:00:00 2001
|
|
From: Elvis Stansvik <elvstone@gmail.com>
|
|
Date: Mon, 1 Nov 2021 22:22:29 +0100
|
|
Subject: [PATCH] Add missing inclusion of sstream/string headers
|
|
|
|
Needed for std::ostringstream and std::string.
|
|
---
|
|
IO/Geometry/vtkGLTFWriterUtils.cxx | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/VTK/IO/Geometry/vtkGLTFWriterUtils.cxx b/VTK/IO/Geometry/vtkGLTFWriterUtils.cxx
|
|
index a7df4975e07..fdaaead3150 100644
|
|
--- a/VTK/IO/Geometry/vtkGLTFWriterUtils.cxx
|
|
+++ b/VTK/IO/Geometry/vtkGLTFWriterUtils.cxx
|
|
@@ -25,6 +25,9 @@
|
|
#include "vtksys/FStream.hxx"
|
|
#include "vtksys/SystemTools.hxx"
|
|
|
|
+#include <sstream>
|
|
+#include <string>
|
|
+
|
|
void vtkGLTFWriterUtils::WriteValues(vtkDataArray* ca, ostream& myFile)
|
|
{
|
|
myFile.write(reinterpret_cast<char*>(ca->GetVoidPointer(0)),
|
|
--
|
|
GitLab
|
|
|