FreeBSD Bugzilla – Attachment 238129 Details for
Bug 266196
science/octopus: Fails to build with GCC 12: Fatal Error: Sorry, polymorphic arrays not yet supported for firstprivate compilation terminated.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternative patch for making gfortran respect USE_GCC
0001-Mk-Uses-fortran.mk-Make-gfortran-respect-USE_GCC.patch (text/plain), 896 bytes, created by
Lorenzo Salvadore
on 2022-11-16 21:03:27 UTC
(
hide
)
Description:
Alternative patch for making gfortran respect USE_GCC
Filename:
MIME Type:
Creator:
Lorenzo Salvadore
Created:
2022-11-16 21:03:27 UTC
Size:
896 bytes
patch
obsolete
>From b8e490f80b7da1855b443d83ecaece4a659f17a9 Mon Sep 17 00:00:00 2001 >From: Lorenzo Salvadore <salvadore@FreeBSD.org> >Date: Wed, 16 Nov 2022 15:43:40 +0100 >Subject: [PATCH] Mk/Uses/fortran.mk: Make gfortran respect USE_GCC > >Allow choosing a specific version of gfortran through USE_GCC variable. > >PR: 266196 >Co-authored by: thierry >--- > Mk/Uses/fortran.mk | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/Mk/Uses/fortran.mk b/Mk/Uses/fortran.mk >index 09ebd62b1a0f..d335fad4dc8e 100644 >--- a/Mk/Uses/fortran.mk >+++ b/Mk/Uses/fortran.mk >@@ -14,7 +14,11 @@ fortran_ARGS= ${FORTRAN_DEFAULT} > . endif > > . if ${fortran_ARGS} == gfortran >+. if empty(USE_GCC) > _GCC_VER= ${GCC_DEFAULT:S/.//} >+. else >+_GCC_VER= ${_USE_GCC} >+. endif > BUILD_DEPENDS+= gfortran${_GCC_VER}:lang/gcc${_GCC_VER} > RUN_DEPENDS+= gfortran${_GCC_VER}:lang/gcc${_GCC_VER} > F77= gfortran${_GCC_VER} >-- >2.38.0 >
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:
thierry
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 266196
:
238118
|
238126
|
238127
| 238129