FreeBSD Bugzilla – Attachment 233549 Details for
Bug 263539
science/elmerfem: Fails to build with GCC 11: Error: Index variable 'i' redefined at (1) in procedure 'inputvector' called from within DO loop at (2)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
science_elmerfem_9.0_2.diff
science_elmerfem_9.0_2.diff (text/plain), 3.61 KB, created by
Henrik Gulbrandsen
on 2022-04-27 18:54:29 UTC
(
hide
)
Description:
science_elmerfem_9.0_2.diff
Filename:
MIME Type:
Creator:
Henrik Gulbrandsen
Created:
2022-04-27 18:54:29 UTC
Size:
3.61 KB
patch
obsolete
>diff --git a/science/elmerfem/Makefile b/science/elmerfem/Makefile >index ca7a1c9c60..d71be0913a 100644 >--- a/science/elmerfem/Makefile >+++ b/science/elmerfem/Makefile >@@ -3,7 +3,7 @@ > PORTNAME= elmerfem > DISTVERSIONPREFIX= release- > DISTVERSION= 9.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= science > > MAINTAINER= henrik@gulbra.net >@@ -12,17 +12,20 @@ COMMENT= Multiphysical simulation software > LICENSE= GPLv2 > > LIB_DEPENDS= libblas.so:math/blas \ >+ libhdf5.so:science/hdf5 \ >+ libhdf5_hl.so:science/hdf5 \ > libmetis.so:math/metis \ > libmpich.so:net/mpich \ >+ libnetcdf.so:science/netcdf \ > libopenblas.so:math/openblas \ > libparpack.so:math/arpack-ng > > USES= cmake compiler:c++11-lang fortran >-USE_LDCONFIG= ${PREFIX}/lib/elmersolver > > USE_GITHUB= yes > GH_ACCOUNT= ElmerCSC > >+USE_LDCONFIG= ${PREFIX}/lib/elmersolver > CMAKE_ARGS= -DELMER_FEM_REVISION:STRING=${GH_TAGNAME} > > ALL_TARGET= # empty >diff --git a/science/elmerfem/files/patch-fem_src_modules_DCRComplexSolve.F90 b/science/elmerfem/files/patch-fem_src_modules_DCRComplexSolve.F90 >new file mode 100644 >index 0000000000..515d7d578f >--- /dev/null >+++ b/science/elmerfem/files/patch-fem_src_modules_DCRComplexSolve.F90 >@@ -0,0 +1,58 @@ >+--- fem/src/modules/DCRComplexSolve.F90.orig 2020-11-10 19:52:44 UTC >++++ fem/src/modules/DCRComplexSolve.F90 >+@@ -433,6 +433,7 @@ CONTAINS >+ !------------------------------------------------------------------------------ >+ LOGICAL :: FirstTime = .TRUE., stat >+ REAL(KIND=dp), POINTER :: Hwrk(:,:,:) >++ INTEGER :: i >+ >+ SAVE FirstTime, Hwrk >+ !------------------------------------------------------------------------------ >+@@ -485,6 +486,7 @@ CONTAINS >+ !------------------------------------------------------------------------------ >+ LOGICAL :: FirstTime = .TRUE., stat >+ REAL(KIND=dp), POINTER :: Hwrk(:,:,:) >++ INTEGER :: i >+ >+ SAVE FirstTime, Hwrk >+ !------------------------------------------------------------------------------ >+@@ -1074,6 +1076,7 @@ contains >+ !------------------------------------------------------------------------------ >+ LOGICAL :: FirstTime = .TRUE., stat >+ REAL(KIND=dp), POINTER :: Hwrk(:,:,:) >++ INTEGER :: i >+ >+ SAVE FirstTime, Hwrk >+ !------------------------------------------------------------------------------ >+@@ -1374,6 +1377,7 @@ contains >+ !------------------------------------------------------------------------------ >+ LOGICAL :: FirstTime = .TRUE., stat >+ REAL(KIND=dp), POINTER :: Hwrk(:,:,:) >++ INTEGER :: i >+ >+ SAVE FirstTime, Hwrk >+ !------------------------------------------------------------------------------ >+@@ -1426,6 +1430,7 @@ contains >+ !------------------------------------------------------------------------------ >+ LOGICAL :: FirstTime = .TRUE., stat >+ REAL(KIND=dp), POINTER :: Hwrk(:,:,:) >++ INTEGER :: i >+ >+ SAVE FirstTime, Hwrk >+ !------------------------------------------------------------------------------ >+@@ -1727,6 +1732,7 @@ CONTAINS >+ !------------------------------------------------------------------------------ >+ LOGICAL :: FirstTime = .TRUE., stat >+ REAL(KIND=dp), POINTER :: Hwrk(:,:,:) >++ INTEGER :: i >+ >+ SAVE FirstTime, Hwrk >+ !------------------------------------------------------------------------------ >+@@ -1779,6 +1785,7 @@ CONTAINS >+ !------------------------------------------------------------------------------ >+ LOGICAL :: FirstTime = .TRUE., stat >+ REAL(KIND=dp), POINTER :: Hwrk(:,:,:) >++ INTEGER :: i >+ >+ SAVE FirstTime, Hwrk >+ !------------------------------------------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
salvadore
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 263539
: 233549