[Pkg-scicomp-commits] [SCM] paraview branch, master, updated. 496defb23ca060e0acece7f8d8d607c55880b4e1
Christophe Prud'homme
prudhomm at debian.org
Sat Oct 10 23:21:03 UTC 2009
The following commit has been merged in the master branch:
commit da4315f1876934fa3ffb46b7b04214914dc89639
Author: Christophe Prud'homme <prudhomm at debian.org>
Date: Sun Oct 11 01:18:39 2009 +0200
added new patches
diff --git a/debian/patches/add_missing_string_includes.patch b/debian/patches/add_missing_string_includes.patch
new file mode 100644
index 0000000..84b96b5
--- /dev/null
+++ b/debian/patches/add_missing_string_includes.patch
@@ -0,0 +1,35 @@
+diff -ur paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfArray.h paraview-3.4.0.new/Utilities/Xdmf2/libsrc/XdmfArray.h
+--- paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfArray.h 2008-08-29 16:08:58.000000000 +0100
++++ paraview-3.4.0.new/Utilities/Xdmf2/libsrc/XdmfArray.h 2009-08-31 01:17:54.000000000 +0100
+@@ -26,6 +26,7 @@
+ #define __XdmfArray_h
+
+ #include "XdmfDataDesc.h"
++#include <string.h>
+
+ #define XDMF_LONGEST_LENGTH (XdmfInt64)~0
+ #define XDMF_ARRAY_TAG_LENGTH 80
+diff -ur paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h paraview-3.4.0.new/Utilities/Xdmf2/libsrc/XdmfDataDesc.h
+--- paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h 2008-02-21 16:55:28.000000000 +0000
++++ paraview-3.4.0.new/Utilities/Xdmf2/libsrc/XdmfDataDesc.h 2009-08-31 01:24:46.000000000 +0100
+@@ -27,6 +27,7 @@
+
+ #include "XdmfObject.h"
+ #include "XdmfHDFSupport.h"
++#include <string.h>
+
+ #define XDMF_SELECTALL 0
+ #define XDMF_HYPERSLAB 1
+diff -ur paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx paraview-3.4.0.new/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx
+--- paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx 2008-07-09 19:43:47.000000000 +0100
++++ paraview-3.4.0.new/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx 2009-08-31 02:37:57.000000000 +0100
+@@ -36,6 +36,7 @@
+ #include "hdf5.h"
+
+ #include <stdlib.h>
++#include <string.h>
+
+ #define HDF_IO_DEBUG 1
+ #undef HDF_IO_DEBUG
+
+
diff --git a/debian/patches/fix_H5FD_class_t_usage.patch b/debian/patches/fix_H5FD_class_t_usage.patch
new file mode 100644
index 0000000..e0a443b
--- /dev/null
+++ b/debian/patches/fix_H5FD_class_t_usage.patch
@@ -0,0 +1,58 @@
+diff -ur paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx paraview-3.4.0.new/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx
+--- paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx 2008-07-09 19:43:47.000000000 +0100
++++ paraview-3.4.0.new/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx 2009-08-31 02:37:57.000000000 +0100
+@@ -132,9 +133,9 @@
+ static herr_t H5FD_dsm_flush(H5FD_t *_file);
+ #endif
+ static int H5FD_dsm_cmp(const H5FD_t *_f1, const H5FD_t *_f2);
+-static haddr_t H5FD_dsm_get_eoa(H5FD_t *_file);
+-static herr_t H5FD_dsm_set_eoa(H5FD_t *_file, haddr_t addr);
+-static haddr_t H5FD_dsm_get_eof(H5FD_t *_file);
++static haddr_t H5FD_dsm_get_eoa(const H5FD_t *_file, H5FD_mem_t type);
++static herr_t H5FD_dsm_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t addr);
++static haddr_t H5FD_dsm_get_eof(const H5FD_t *_file);
+ static herr_t H5FD_dsm_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr,
+ DSM_HSIZE_T size, void *buf);
+ static herr_t H5FD_dsm_write(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr,
+@@ -159,6 +160,7 @@
+ H5FD_dsm_close, /*close */
+ H5FD_dsm_cmp, /*cmp */
+ NULL, /*query */
++ NULL, /*get_type_map */
+ NULL, /*alloc */
+ NULL, /*free */
+ H5FD_dsm_get_eoa, /*get_eoa */
+@@ -168,6 +170,7 @@
+ H5FD_dsm_read, /*read */
+ H5FD_dsm_write, /*write */
+ NULL, /*flush */
++ NULL, /*truncate */
+ NULL, /*lock */
+ NULL, /*unlock */
+ H5FD_FLMAP_SINGLE /*fl_map */
+@@ -594,7 +597,7 @@
+ *-------------------------------------------------------------------------
+ */
+ static haddr_t
+-H5FD_dsm_get_eoa(H5FD_t *_file)
++H5FD_dsm_get_eoa(const H5FD_t *_file, H5FD_mem_t type)
+ {
+ H5FD_dsm_t *file = (H5FD_dsm_t*)_file;
+
+@@ -622,7 +625,7 @@
+ *-------------------------------------------------------------------------
+ */
+ static herr_t
+-H5FD_dsm_set_eoa(H5FD_t *_file, haddr_t addr)
++H5FD_dsm_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t addr)
+ {
+ H5FD_dsm_t *file = (H5FD_dsm_t*)_file;
+
+@@ -663,7 +666,7 @@
+ *-------------------------------------------------------------------------
+ */
+ static haddr_t
+-H5FD_dsm_get_eof(H5FD_t *_file)
++H5FD_dsm_get_eof(const H5FD_t *_file)
+ {
+ H5FD_dsm_t *file = (H5FD_dsm_t*)_file;
diff --git a/debian/patches/qt.patch b/debian/patches/qt.patch
new file mode 100644
index 0000000..4a413e0
--- /dev/null
+++ b/debian/patches/qt.patch
@@ -0,0 +1,21 @@
+Index: paraview-3.4.0/CMakeLists.txt
+===================================================================
+--- CMakeLists.txt 2009/04/27 13:01:33 1.96
++++ CMakeLists.txt 2009/04/30 16:44:47 1.97
+@@ -98,12 +98,12 @@
+ # don't go greater than supported version
+ STRING(REGEX MATCH "^4\\.3\\.[0-9]+" qt_version_tmp "${QTVERSION}")
+ IF (NOT qt_version_tmp)
+- STRING(REGEX MATCH "^4\\.4\\.[0-9]+" qt_version4_4_tmp "${QTVERSION}")
+- IF (NOT qt_version4_4_tmp)
++ STRING(REGEX MATCH "^4\\.[0-9]+\\.[0-9]+" qt_version4_x_tmp "${QTVERSION}")
++ IF (NOT qt_version4_x_tmp)
+ MESSAGE(SEND_ERROR "Qt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).")
+- ELSE (NOT qt_version4_4_tmp)
++ ELSE (NOT qt_version4_x_tmp)
+ MESSAGE("WARNING: You are using Qt ${QTVERSION}. Officially supported version is Qt 4.3")
+- ENDIF (NOT qt_version4_4_tmp)
++ ENDIF (NOT qt_version4_x_tmp)
+ ENDIF (NOT qt_version_tmp)
+ # enforce Carbon in VTK for Qt/Mac
+ IF(Q_WS_MAC)
--
paraview
More information about the Pkg-scicomp-commits
mailing list