diff options
author | 2012-04-26 16:14:14 +0200 | |
---|---|---|
committer | 2012-04-26 16:14:14 +0200 | |
commit | 9a69ba61e8f272fab3487a91a28a4a91b1500d90 (patch) | |
tree | 9718035923898878eed16b72a0a234b2355ec5b7 | |
parent | fix source dir (diff) | |
download | jxh-9a69ba61e8f272fab3487a91a28a4a91b1500d90.tar.gz jxh-9a69ba61e8f272fab3487a91a28a4a91b1500d90.tar.bz2 jxh-9a69ba61e8f272fab3487a91a28a4a91b1500d90.zip |
update patch
-rw-r--r-- | sci-visualization/paraview/files/paraview-3.14.0-xdmf-bc.patch | 13 | ||||
-rw-r--r-- | sci-visualization/paraview/files/paraview-3.14.0-xdmf-cstring.patch | 10 |
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 |