Page MenuHomeFreeBSD

devel/crc32c: fix build on big-endian architectures
ClosedPublic

Authored by pkubaj on Jul 24 2019, 1:38 PM.

Details

Summary

C++11 compiler is needed:

Target "crc32c" requires the language dialect "CXX11" , but CMake does not
know the compile flags to use to enable it.

Additionally, big-endian code in src/crc32c_read_le.h needs fixing - the value is 64 bits wide, not 32 bits.

PR: 239420

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Jul 24 2019, 1:38 PM
linimon accepted this revision.Aug 1 2019, 12:41 AM
This revision is now accepted and ready to land.Aug 1 2019, 12:41 AM
This revision was automatically updated to reflect the committed changes.