1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

net/mpich: Remove the compiler version check

It fails on science/meep for no obvious reason, and would otherwise prevent meep from being upgraded mpich2->mpich.
This commit is contained in:
Yuri Victorovich 2018-12-17 19:45:06 +00:00
parent f36f26a68e
commit 7b25ef278f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487710
2 changed files with 19 additions and 1 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= mpich
PORTVERSION= 3.2.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net parallel
MASTER_SITES= http://www.mpich.org/static/downloads/${DISTVERSION}/

View File

@ -0,0 +1,18 @@
--- src/binding/cxx/mpicxx.h.in.orig 2018-12-17 19:36:19 UTC
+++ src/binding/cxx/mpicxx.h.in
@@ -16,6 +16,7 @@
// GCC (specifically) g++ changed the calling convention
// between 3.2.3 and 3.4.3 (!!) Normally such changes
// should only occur at major releases (e.g., version 3 to 4)
+#if 0 // FreeBSD: remove this version check that fails for no apparent reason
#ifdef __GNUC__
# if __GNUC__ >= @GNUCXX_VERSION@
# if __GNUC_MINOR__ > 2 && @GNUCXX_MINORVERSION@ == 2
@@ -23,6 +24,7 @@
# endif
# endif
#endif
+#endif
/*
* Because the API is defined, some methods have parameters that are