Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2021 10:12:54 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3ba7c5874343 - main - databases/redisdesktopmanager: fix build on powerpc*
Message-ID:  <202109301012.18UACs11046049@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit 3ba7c58743436ce6b93468a114dbc54c99d4b91b
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-09-30 10:11:20 +0000
Commit:     Piotr Kubaj <pkubaj@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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109301012.18UACs11046049>