[Bug 209244] math/scilab broken by science/hd5 upgrade to 1.10

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 3 18:32:36 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209244

            Bug ID: 209244
           Summary: math/scilab broken by science/hd5 upgrade to 1.10
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: makc at FreeBSD.org
          Reporter: truckman at FreeBSD.org
             Flags: maintainer-feedback?(makc at FreeBSD.org)
          Assignee: makc at FreeBSD.org

Created attachment 169937
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169937&action=edit
patch to unbreak scilab build with hdf5 1.10 and other fixes

When hdf5 was upgraded to version 1.10, it broke the scilab build:

src/c/h5_readDataFromFile.c:719:64: error: too few arguments to function call,
expected 4, have 3
        obj = H5Rdereference(_iDatasetId, H5R_OBJECT, &pData[i]);
              ~~~~~~~~~~~~~~                                   ^
/usr/local/include/H5Rpublic.h:63:8: note: 'H5Rdereference2' declared here

The build fix to math/matio in #209242 is necessary to get this far because
matio is a non-optional dependency.

The attached patch fixes the scilab build.

Also, fix the build when the GUI option is disabled.

While here, quiet a bunch of portlint warnings.  Since this port installs both
icons and shared libraries, add
    USE_LDCONFIG=  yes
and
    INSTALLS_ICONS=        yes
to Makefile.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list