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
This commit is contained in:
Tobias Kortkamp
2020-07-04 11:10:29 +00:00
parent 9c477217f7
commit f5e1422d15

View File

@@ -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