Bug#885845: netcdf FTCBFS: CHECK_C_SOURCE_RUNS

Helmut Grohne helmut at subdivi.de
Sat Dec 30 10:35:23 UTC 2017


Source: netcdf
Version: 1:4.5.0-1
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap

netcdf fails to cross build from source, because it uses
CHECK_C_SOURCE_RUNS. Fortunately, the only relevant check can easily be
turned into CHECK_C_SOURCE_COMPILES (by exploiting that arrays of
negative length cause a compile error). After doing so, netcdf cross
builds successfully. Please consider applying the attached patch.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 1128 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20171230/f57e1bfa/attachment.patch>


More information about the Pkg-grass-devel mailing list