[MacPorts] #45964: blosc @ 1.5.0_0 build error
MacPorts
noreply at macports.org
Mon Dec 15 22:10:52 PST 2014
#45964: blosc @ 1.5.0_0 build error
-------------------------+------------------------
Reporter: skoro.ru@… | Owner: stromnov@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: blosc |
-------------------------+------------------------
Comment (by skoro.ru@…):
If I compare c-blosc-1.4.1 (which compiles) and c-blosc-1.5.0 (which
doesn't), the definitions of shuffle and unshuffle were updated in 1.5.0
in shuffle.h to make the argument _src const, but the change wasn't
reflected in lines 493 and 498 (the conditionally executed non-SSE2
section) of shuffle.c.
This fixes the issue:
{{{
#else /* no __SSE2__ available */
void shuffle(size_t bytesoftype, size_t blocksize,
const uint8_t* _src, uint8_t* _dest) {
_shuffle(bytesoftype, blocksize, _src, _dest);
}
void unshuffle(size_t bytesoftype, size_t blocksize,
const uint8_t* _src, uint8_t* _dest) {
_unshuffle(bytesoftype, blocksize, _src, _dest);
}
#endif /* __SSE2__ */
}}}
--
Ticket URL: <https://trac.macports.org/ticket/45964#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list