Add patch to fix building with gcc 4.7 in factory. OBS-URL: https://build.opensuse.org/request/show/116110 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=6
37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
Index: ParaView-3.14.0-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx
|
|
===================================================================
|
|
--- ParaView-3.14.0-Source.orig/VTK/Rendering/vtkFreeTypeUtilities.cxx
|
|
+++ ParaView-3.14.0-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx
|
|
@@ -31,6 +31,7 @@
|
|
#include "fonts/vtkEmbeddedFonts.h"
|
|
|
|
#include <sys/stat.h>
|
|
+#include <unistd.h>
|
|
|
|
#ifdef FTGL_USE_NAMESPACE
|
|
using namespace ftgl;
|
|
Index: ParaView-3.14.0-Source/VTK/Rendering/vtkFreeTypeTools.cxx
|
|
===================================================================
|
|
--- ParaView-3.14.0-Source.orig/VTK/Rendering/vtkFreeTypeTools.cxx
|
|
+++ ParaView-3.14.0-Source/VTK/Rendering/vtkFreeTypeTools.cxx
|
|
@@ -13,6 +13,7 @@
|
|
|
|
=========================================================================*/
|
|
|
|
+#include <unistd.h>
|
|
#include "vtkFreeTypeTools.h"
|
|
|
|
#include "vtkTextProperty.h"
|
|
Index: ParaView-3.14.0-Source/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx
|
|
===================================================================
|
|
--- ParaView-3.14.0-Source.orig/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx
|
|
+++ ParaView-3.14.0-Source/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx
|
|
@@ -21,6 +21,7 @@
|
|
//files around for inspection. Otherwise it deletes the temporary files it
|
|
//creates and returns success.
|
|
|
|
+#include <unistd.h>
|
|
#include "vtkXdmfWriter.h"
|
|
|
|
#include "vtkCellData.h"
|