summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Hron2012-04-26 14:14:14 (GMT)
committerJaroslav Hron2012-04-26 14:14:14 (GMT)
commit9a69ba61e8f272fab3487a91a28a4a91b1500d90 (patch)
tree9718035923898878eed16b72a0a234b2355ec5b7
parent685c10fbad771a6acadb6291fb991a7c660e082e (diff)
update patch
-rw-r--r--sci-visualization/paraview/files/paraview-3.14.0-xdmf-bc.patch13
-rw-r--r--sci-visualization/paraview/files/paraview-3.14.0-xdmf-cstring.patch10
2 files changed, 23 insertions, 0 deletions
diff --git a/sci-visualization/paraview/files/paraview-3.14.0-xdmf-bc.patch b/sci-visualization/paraview/files/paraview-3.14.0-xdmf-bc.patch
new file mode 100644
index 0000000..3e26165
--- /dev/null
+++ b/sci-visualization/paraview/files/paraview-3.14.0-xdmf-bc.patch
@@ -0,0 +1,13 @@
+--- a/Utilities/Xdmf2/libsrc/CMakeLists.txt.orig 2010-06-05 23:02:46.495999925 +1200
++++ b/Utilities/Xdmf2/libsrc/CMakeLists.txt 2010-06-07 21:57:25.261616104 +1200
+@@ -503,8 +503,8 @@
+ RENAME Xdmf.py) # always named the same regardless of build with or without mpi
+
+ # Compile Byte Code
+- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${Xdmf_SOURCE_DIR}/CMake/CompileXdmfByteCode.py
+- ${CMAKE_INSTALL_PREFIX}/${XDMF_WRAP_PYTHON_INSTALL_PY_DIR})")
++# INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${Xdmf_SOURCE_DIR}/CMake/CompileXdmfByteCode.py
++# ${XDMF_WRAP_PYTHON_INSTALL_DIR})")
+
+ ENDIF(XDMF_WRAP_PYTHON)
+
diff --git a/sci-visualization/paraview/files/paraview-3.14.0-xdmf-cstring.patch b/sci-visualization/paraview/files/paraview-3.14.0-xdmf-cstring.patch
new file mode 100644
index 0000000..da06476
--- /dev/null
+++ b/sci-visualization/paraview/files/paraview-3.14.0-xdmf-cstring.patch
@@ -0,0 +1,10 @@
+--- Utilities/Xdmf2/libsrc/XdmfObject.h.orig 2010-06-01 18:41:14.006986954 +1200
++++ Utilities/Xdmf2/libsrc/XdmfObject.h 2010-06-01 18:42:48.257851302 +1200
+@@ -82,6 +82,7 @@
+ # ifdef UNIX
+ # include "sys/file.h"
+ # include "strings.h"
++# include <cstring>
+ # define STRCASECMP strcasecmp
+ # define STRNCASECMP strncasecmp
+ # define STRCMP strcmp