git: ff30573aced8 - main - databases/redisdesktopmanager: Jettison byteswap/endian hacks
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Dec 2023 04:26:41 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff30573aced8c6b93cb2191fa00219168dc0f653 commit ff30573aced8c6b93cb2191fa00219168dc0f653 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-12-31 04:06:26 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-12-31 04:06:26 +0000 databases/redisdesktopmanager: Jettison byteswap/endian hacks --- ...patch-3rdparty_simdjson_singleheader_simdjson.h | 23 ---------------------- 1 file changed, 23 deletions(-) diff --git a/databases/redisdesktopmanager/files/patch-3rdparty_simdjson_singleheader_simdjson.h b/databases/redisdesktopmanager/files/patch-3rdparty_simdjson_singleheader_simdjson.h deleted file mode 100644 index dd6809c45a99..000000000000 --- a/databases/redisdesktopmanager/files/patch-3rdparty_simdjson_singleheader_simdjson.h +++ /dev/null @@ -1,23 +0,0 @@ ---- 3rdparty/simdjson/singleheader/simdjson.h.orig 2021-09-07 18:36:17 UTC -+++ 3rdparty/simdjson/singleheader/simdjson.h -@@ -17189,7 +17189,11 @@ simdjson_unused simdjson_warn_unused simdjson_really_i - #ifndef SIMDJSON_PPC64_NUMBERPARSING_H - #define SIMDJSON_PPC64_NUMBERPARSING_H - -+#ifdef linux - #include <byteswap.h> -+#elif defined(__FreeBSD__) -+#include <sys/endian.h> -+#endif - - namespace simdjson { - namespace ppc64 { -@@ -17202,7 +17206,7 @@ parse_eight_digits_unrolled(const uint8_t *chars) { - uint64_t val; - std::memcpy(&val, chars, sizeof(uint64_t)); - #ifdef __BIG_ENDIAN__ -- val = bswap_64(val); -+ val = bswap64(val); - #endif - val = (val & 0x0F0F0F0F0F0F0F0F) * 2561 >> 8; - val = (val & 0x00FF00FF00FF00FF) * 6553601 >> 16;