Index: Makefile =================================================================== --- Makefile (revision 507155) +++ Makefile (working copy) @@ -11,7 +11,7 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake +USES= cmake compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= google USE_LDCONFIG= yes Index: files/patch-src_crc32c__read__le.h =================================================================== --- files/patch-src_crc32c__read__le.h (nonexistent) +++ files/patch-src_crc32c__read__le.h (working copy) @@ -0,0 +1,25 @@ +--- src/crc32c_read_le.h.orig 2019-07-24 07:21:23 UTC ++++ src/crc32c_read_le.h +@@ -30,14 +30,14 @@ inline uint32_t ReadUint32LE(const uint8_t* buffer) { + // Reads a little-endian 64-bit integer from a 64-bit-aligned buffer. + inline uint64_t ReadUint64LE(const uint8_t* buffer) { + #if BYTE_ORDER_BIG_ENDIAN +- return ((static_cast(static_cast(buffer[0]))) | +- (static_cast(static_cast(buffer[1])) << 8) | +- (static_cast(static_cast(buffer[2])) << 16) | +- (static_cast(static_cast(buffer[3])) << 24) | +- (static_cast(static_cast(buffer[4])) << 32) | +- (static_cast(static_cast(buffer[5])) << 40) | +- (static_cast(static_cast(buffer[6])) << 48) | +- (static_cast(static_cast(buffer[7])) << 56)); ++ return ((static_cast(static_cast(buffer[0]))) | ++ (static_cast(static_cast(buffer[1])) << 8) | ++ (static_cast(static_cast(buffer[2])) << 16) | ++ (static_cast(static_cast(buffer[3])) << 24) | ++ (static_cast(static_cast(buffer[4])) << 32) | ++ (static_cast(static_cast(buffer[5])) << 40) | ++ (static_cast(static_cast(buffer[6])) << 48) | ++ (static_cast(static_cast(buffer[7])) << 56)); + #else // !BYTE_ORDER_BIG_ENDIAN + uint64_t result; + // This should be optimized to a single instruction. Property changes on: files/patch-src_crc32c__read__le.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property