Bug 232958

Summary: math/scilab fails to build with GCC 8
Product: Ports & Packages Reporter: Gerald Pfeifer <gerald>
Component: Individual Port(s)Assignee: Max Brazhnikov <makc>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (makc)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 231590    

Description Gerald Pfeifer freebsd_committer 2018-11-04 12:06:00 UTC
We are working to update the default version of GCC in the Ports 
Collection from GCC 7 to GCC 8.  Alas math/scilab fails to build 
with that newer compiler which unfortunately blocks this update.

Cf. http://package22.nyi.freebsd.org/data/112amd64-default-PR231590/2018-10-29_06h48m05s/logs/errors/scilab-5.5.2_14.log

libtool: compile:  gfortran8 -DNDEBUG -I../../modules/core/includes/ -O -Wl,-rpath=/usr/local/lib/gcc8 -c src/fortran/twodq.f  -fPIC -o src/fortran/.libs/twodq.o
src/fortran/twodq.f:373:17:

       call tridv(node,node1,node2,0.5d0,1)
                 1
Error: Actual argument contains too few elements for dummy argument 'node' (9/10) at (1)
gmake[3]: *** [Makefile:1481: src/fortran/twodq.lo] Error 1
Comment 1 commit-hook freebsd_committer 2018-11-06 07:45:42 UTC
A commit references this bug:

Author: makc
Date: Tue Nov  6 07:45:10 UTC 2018
New revision: 484280
URL: https://svnweb.freebsd.org/changeset/ports/484280

Log:
  math/scilab:
  - Add patch from upstream to fix build with gfortran 8 [1]
  - Update WWW

  PR:		232958 [1]
  Reported by:	gerald

Changes:
  head/math/scilab/files/patch-gfortran8
  head/math/scilab/pkg-descr