[paraview] Apply patch to add missing includes
Deji Akingunola
deji at fedoraproject.org
Wed Mar 30 01:48:33 UTC 2011
commit 467a72d056a3c29a4be06abc3296bac9c08d9602
Author: Deji Akingunola <dakingun at mail.com>
Date: Tue Mar 29 21:49:36 2011 -0400
Apply patch to add missing includes
paraview-3.8.0-include.patch | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/paraview-3.8.0-include.patch b/paraview-3.8.0-include.patch
index cfae01d..591bf35 100644
--- a/paraview-3.8.0-include.patch
+++ b/paraview-3.8.0-include.patch
@@ -8,3 +8,24 @@
#define XDMF_SELECTALL 0
#define XDMF_HYPERSLAB 1
+--- ParaView-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx.orig 2010-09-28 10:08:05.000000000 -0400
++++ ParaView-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx 2011-03-29 20:05:06.658419554 -0400
+@@ -36,6 +36,7 @@
+
+ #include <stdlib.h>
+ #include <string.h>
++#include <stddef.h>
+ #include <string>
+
+ #if defined (__BORLANDC__) && (__BORLANDC__ >= 0x0580)
+--- ParaView-3.8.1/VTK/Common/vtkPythonUtil.cxx.orig 2010-09-28 10:08:03.000000000 -0400
++++ ParaView-3.8.1/VTK/Common/vtkPythonUtil.cxx 2011-03-29 20:36:38.131772882 -0400
+@@ -31,6 +31,8 @@
+ #include <vtkstd/map>
+ #include <vtkstd/string>
+
++#include <stddef.h>
++
+ // Silent warning like
+ // "dereferencing type-punned pointer will break strict-aliasing rules"
+ // it happens because this kind of expression: (long *)&ptr
More information about the scm-commits
mailing list