[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)
Date: Wed, 27 Apr 2022 18:54:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263539 --- Comment #1 from Henrik Gulbrandsen <henrik@gulbra.net> --- Created attachment 233549 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233549&action=edit science_elmerfem_9.0_2.diff This bug was fixed on the devel branch almost a year ago, but it seems better to stay on a well-defined official release for now. The attached patch adds the missing local variable declarations. I have also adjusted the Makefile to keep portclippy and poudriere happy. There is no USE_GCC in this port. Fortran ports use gcc by default because flang only works for the amd64 architecture. -- You are receiving this mail because: You are the assignee for the bug.