Control: tags -1 + patch
* Limit the GCC version check to the major version.
diff -Nru mpich-3.2/debian/patches/gcc-check.diff mpich-3.2/debian/patches/gcc-check.diff --- mpich-3.2/debian/patches/gcc-check.diff 1970-01-01 01:00:00.000000000 +0100 +++ mpich-3.2/debian/patches/gcc-check.diff 2016-01-16 22:01:04.000000000 +0100 @@ -0,0 +1,16 @@ +Index: b/src/binding/cxx/mpicxx.h.in +=================================================================== +--- a/src/binding/cxx/mpicxx.h.in ++++ b/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 -Nru mpich-3.2/debian/patches/series mpich-3.2/debian/patches/series --- mpich-3.2/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ mpich-3.2/debian/patches/series 2016-01-16 21:45:39.000000000 +0100 @@ -0,0 +1 @@ +gcc-check.diff