update patch
authorJaroslav Hron <jaroslav.hron@mff.cuni.cz>
Thu, 26 Apr 2012 14:14:14 +0000 (16:14 +0200)
committerJaroslav Hron <jaroslav.hron@mff.cuni.cz>
Thu, 26 Apr 2012 14:14:14 +0000 (16:14 +0200)
sci-visualization/paraview/files/paraview-3.14.0-xdmf-bc.patch [new file with mode: 0644]
sci-visualization/paraview/files/paraview-3.14.0-xdmf-cstring.patch [new file with mode: 0644]

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 (file)
index 0000000..3e26165
--- /dev/null
@@ -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 (file)
index 0000000..da06476
--- /dev/null
@@ -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