git: 3ba7c5874343 - main - databases/redisdesktopmanager: fix build on powerpc*

Piotr Kubaj pkubaj at FreeBSD.org
Thu Sep 30 10:12:54 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ba7c58743436ce6b93468a114dbc54c99d4b91b

commit 3ba7c58743436ce6b93468a114dbc54c99d4b91b
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-09-30 10:11:20 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-09-30 10:11:20 +0000

    databases/redisdesktopmanager: fix build on powerpc*
    
    FreeBSD uses sys/endian.h for endian conversions.
---
 .../files/patch-3rdparty_simdjson_singleheader_simdjson.h  | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/databases/redisdesktopmanager/files/patch-3rdparty_simdjson_singleheader_simdjson.h b/databases/redisdesktopmanager/files/patch-3rdparty_simdjson_singleheader_simdjson.h
new file mode 100644
index 000000000000..5901c843f00f
--- /dev/null
+++ b/databases/redisdesktopmanager/files/patch-3rdparty_simdjson_singleheader_simdjson.h
@@ -0,0 +1,14 @@
+--- 3rdparty/simdjson/singleheader/simdjson.h.orig	2021-09-30 06:08:20 UTC
++++ 3rdparty/simdjson/singleheader/simdjson.h
+@@ -15748,7 +15748,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 {


More information about the dev-commits-ports-main mailing list