Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
grib_bits.diff | FTBFS: grib-api - tests fail for mips https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733510 mips. Part of build log has been attached. The root cause of failing tests for mips is in function grib_encode_unsigned_long() that is used for writing into grib message buffer (function is implemented differently for big-endian and little-endian architectures). On big-endian architectures, function uses shift operations, where in some corner-case situations left operand (which is of type unsigned long; size of long equals 4 bytes for 32bit system) is shifted right by 32 bits. According to C standard, if the value of the right operand of shift operation is negative, or is greater than or equal to the width of the left operand, the behaviour is undefined. On 32-bit mips architecture shift operations by a variable number of bits are translated to/use 'srlv' and 'sllv' instructions which shift left operand by (right_operand mod 32) bits. In case of shifting by 32 bits, this results in left operand being unchanged. However, in order for this package to function properly a result of 0 is expected. Proposed patch fixes these corner-cases by setting the result of shift operation to 0 if right operand is greater than or equal to size of long (actually, no shifting is performed, the result is set to zero). =================================================================== |
Dragoslav Sicarov <Dragoslav.Sicarov@imgtec.com> | yes | 2013-12-29 | ||
static-libs.patch | Build both static and dynamic libraries for Debian; Add SONAME support for the dynamic libraries =================================================================== |
Alastair McKinstry <mckinstry@debian.org> | no | |||
reproducible.patch | Make builds bit-reproducible =================================================================== |
Alastair McKinstry <mckinstry@debian.org> | yes | |||
disable-download-tests.patch | Disable downloading grib files; already present =================================================================== |
Alastair McKinstry <mckinstry@debian.org> | not-needed | |||
static-fix.patch | compile fix for shadowed function definitions goto-cc compiler says multiple 'usage' functions shadow each other due to including 'grib_options' when linking. Declare static. =================================================================== |
Alastair McKinstry <mckinstry@debian.org>ยง | no | |||
remove-rpms.patch | Drop refs to files that don't exist =================================================================== |
Alastair McKinstry <mckinstry@debian.org> | no | |||
memfs.patch | =================================================================== | no | ||||
ecbuild.patch | =================================================================== | no | ||||
missing-libs.patch | Since lbpng and libaec are used, eccodes needs to link against them A better fix would be to make these conditional =================================================================== |
Alastair McKinstry <mckinstry@debian.org> | no |