Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2020 12:04:51 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r541202 - head/math/slatec
Message-ID:  <202007041204.064C4pCT038860@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Jul  4 12:04:51 2020
New Revision: 541202
URL: https://svnweb.freebsd.org/changeset/ports/541202

Log:
  math/slatec: Unbreak build with GCC 10
  
  Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
  cpzero.f:90:43:
  
     76 |       CALL CPEVL(N,N,A,TEMP,T,T,.FALSE.)
        |                            2
  ......
     90 |          CALL CPEVL(N,0,T(N1),CMPLX(X,0.0),PN,PN,.FALSE.)
        |                                           1
  Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
  cpzero.f:105:37:
  
     76 |       CALL CPEVL(N,N,A,TEMP,T,T,.FALSE.)
        |                            2
  ......
    105 |                CALL CPEVL(N,0,A,R(I),PN,TEMP,.TRUE.)
        |                                     1
  Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
  
  http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/slatec-4.1_12.log
  
  PR:		246700

Modified:
  head/math/slatec/Makefile

Modified: head/math/slatec/Makefile
==============================================================================
--- head/math/slatec/Makefile	Sat Jul  4 12:03:25 2020	(r541201)
+++ head/math/slatec/Makefile	Sat Jul  4 12:04:51 2020	(r541202)
@@ -29,6 +29,7 @@ LDADD ?=	-lgfortran -lm
 SRCCONF=	/dev/null
 MAKE_ENV+=	LDADD="${LDADD}" SHLIB_MAJOR="${SHLIB_MAJOR}" \
 		SRCCONF="${SRCCONF}"
+FFLAGS+=	-std=legacy
 
 OPTIONS_DEFINE=	DOCS PROFILE
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007041204.064C4pCT038860>