[SCM] Paraview packaging branch, debian, updated. upstream/3.10.1-110-g7bb111a

Anton Gladky gladky.anton at gmail.com
Thu Dec 15 17:48:22 UTC 2011


The following commit has been merged in the debian branch:
commit 7bb111a4aef132d87248c043f528bc8ba8120008
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Thu Dec 15 18:48:12 2011 +0100

    Fix FTBFS due to strict-aliasing.

diff --git a/debian/patches/series b/debian/patches/series
index a4c2dbd..680286d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ removesqlite.patch
 install_htmldoc.patch
 kwprocessxml_rpath.patch
 fix_memory_animation_leak.patch
+workaround_strict-aliasing_in_mpi4py_MPI.patch
diff --git a/debian/patches/workaround_strict-aliasing_in_mpi4py_MPI.patch b/debian/patches/workaround_strict-aliasing_in_mpi4py_MPI.patch
new file mode 100644
index 0000000..7f0f685
--- /dev/null
+++ b/debian/patches/workaround_strict-aliasing_in_mpi4py_MPI.patch
@@ -0,0 +1,14 @@
+Description: Fixes the following FTBFS: 
+ warning: dereferencing type-punned pointer will break strict-aliasing 
+ rules [-Wstrict-aliasing]
+Author: Anton Gladky <gladky.anton at gmail.com>
+Last-Update: 2011-12-14
+
+--- a/Utilities/mpi4py/Library/CMakeLists.txt
++++ b/Utilities/mpi4py/Library/CMakeLists.txt
+@@ -1,4 +1,5 @@
+ FIND_PACKAGE(MPI)
++SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-strict-aliasing")
+ INCLUDE_DIRECTORIES(
+   ${MPI_INCLUDE_PATH}
+   ${PYTHON_INCLUDE_PATH}

-- 
Paraview packaging



More information about the debian-science-commits mailing list