Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2020 11:29:28 +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: r541196 - head/math/cmlib
Message-ID:  <202007041129.064BTSPQ014237@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Jul  4 11:29:28 2020
New Revision: 541196
URL: https://svnweb.freebsd.org/changeset/ports/541196

Log:
  math/cmlib: Unbreak build with GCC 10
  
  dbocls.f:185:19:
  
     62 |      * 2,LMDW,MCON+MOUT, 0,RDUM,RDUM)
        |                           2
  ......
    185 |      * 1,J,IDUM, 2,BL(J),BU(J))
        |                   1
  Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/REAL(4)).
  dbocls.f:371:18:
  
     62 |      * 2,LMDW,MCON+MOUT, 0,RDUM,RDUM)
        |                           2
  ......
    371 |      * 1,J,IDUM,1,RW(J),RDUM)
        |                  1
  Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/REAL(4)).
  dbocls.f:423:19:
  
     62 |      * 2,LMDW,MCON+MOUT, 0,RDUM,RDUM)
        |                           2
  ......
    423 |      * 1,JP,IDUM,0,IDUM,IDUM)
        |                   1
  Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
  
  http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/cmlib-3.0_8.log
  
  PR:		246700

Modified:
  head/math/cmlib/Makefile

Modified: head/math/cmlib/Makefile
==============================================================================
--- head/math/cmlib/Makefile	Sat Jul  4 11:25:09 2020	(r541195)
+++ head/math/cmlib/Makefile	Sat Jul  4 11:29:28 2020	(r541196)
@@ -24,6 +24,7 @@ LDADD ?=	-lgfortran -lm
 SRCCONF=	/dev/null
 MAKE_ENV=	LDADD="${LDADD}" SHLIB_MAJOR="${SHLIB_MAJOR}" \
 		SRCCONF="${SRCCONF}"
+FFLAGS+=	-std=legacy
 
 NO_WRKSUBDIR=	yes
 



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