svn commit: r541193 - head/science/libccp4

Tobias Kortkamp tobik at FreeBSD.org
Sat Jul 4 11:10:30 UTC 2020


Author: tobik
Date: Sat Jul  4 11:10:29 2020
New Revision: 541193
URL: https://svnweb.freebsd.org/changeset/ports/541193

Log:
  science/libccp4: Unbreak build with GCC 10
  
  fortran/pack_f.f:109:28:
  
     45 |       call pack_wordimage_f(data, x, y, filnarray)
        |                            2
  ......
    109 |       call pack_wordimage_f(data, x, y, filnarray)
        |                            1
  Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)).
  fortran/pack_f.f:141:30:
  
     77 |       call v2pack_wordimage_f(data, x, y, filnarray)
        |                              2
  ......
    141 |       call v2pack_wordimage_f(data, x, y, filnarray)
        |                              1
  Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)).
  
  http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/libccp4-6.5.1_4.log
  
  PR:		246700

Modified:
  head/science/libccp4/Makefile

Modified: head/science/libccp4/Makefile
==============================================================================
--- head/science/libccp4/Makefile	Sat Jul  4 11:07:57 2020	(r541192)
+++ head/science/libccp4/Makefile	Sat Jul  4 11:10:29 2020	(r541193)
@@ -25,7 +25,7 @@ INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
 CFLAGS+=	-fPIC
-FFLAGS+=	-fPIC
+FFLAGS+=	-fPIC -std=legacy
 
 post-configure:
 	${REINPLACE_CMD} -e 's| -Wl,--as-needed||; s| -Wl,--no-as-needed||' ${WRKSRC}/Makefile


More information about the svn-ports-all mailing list