[mpich] 01/06: Relax compiler check. (Closes: #811210)

Anton Gladky gladk at moszumanska.debian.org
Sat Jan 16 22:22:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository mpich.

commit 0970d3bdee6b6735b843d7c676324b154fb3fe5f
Author: Matthias Klose <doko at debian.org>
Date:   Sat Jan 16 22:17:04 2016 +0100

    Relax compiler check. (Closes: #811210)
---
 debian/patches/10_gcc-check.patch | 22 ++++++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/10_gcc-check.patch b/debian/patches/10_gcc-check.patch
new file mode 100644
index 0000000..28acd6b
--- /dev/null
+++ b/debian/patches/10_gcc-check.patch
@@ -0,0 +1,22 @@
+Description: Relax compiler check
+Author: Matthias Klose <doko at debian.org>
+Acked-By: Anton Gladky <gladk at debian.org>
+Bug-Debian: https://bugs.debian.org/811210
+Last-Update: 2016-01-16
+
+Index: mpich/src/binding/cxx/mpicxx.h.in
+===================================================================
+--- mpich.orig/src/binding/cxx/mpicxx.h.in
++++ mpich/src/binding/cxx/mpicxx.h.in
+@@ -17,10 +17,8 @@
+ // between 3.2.3 and 3.4.3 (!!)  Normally such changes
+ // should only occur at major releases (e.g., version 3 to 4)
+ #ifdef __GNUC__ 
+-# if __GNUC__ >= @GNUCXX_VERSION@ 
+-#  if __GNUC_MINOR__ > 2 && @GNUCXX_MINORVERSION@ == 2 
++# if __GNUC__ > @GNUCXX_VERSION@ 
+ #  error 'Please use the same version of GCC and g++ for compiling MPICH and user MPI programs'
+-#  endif
+ # endif     
+ #endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..42c6417
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+10_gcc-check.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mpich.git



More information about the debian-science-commits mailing list