svn commit: r541196 - head/math/cmlib

Tobias Kortkamp tobik at FreeBSD.org
Sat Jul 4 11:29:28 UTC 2020


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
 


More information about the svn-ports-all mailing list