git: 4f15f21dccd7 - main - net-im/libsignal-node: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Sep 2022 07:42:37 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4f15f21dccd740089b653d95e3fe5104974b5ff5
commit 4f15f21dccd740089b653d95e3fe5104974b5ff5
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-09-06 07:41:13 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-09-06 07:42:11 +0000
net-im/libsignal-node: fix build on powerpc64le
CMake Error at CMakeLists.txt:95 (message):
Unknown processor:powerpc64le
---
net-im/libsignal-node/files/patch-powerpc64le | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/net-im/libsignal-node/files/patch-powerpc64le b/net-im/libsignal-node/files/patch-powerpc64le
new file mode 100644
index 000000000000..180d363a424a
--- /dev/null
+++ b/net-im/libsignal-node/files/patch-powerpc64le
@@ -0,0 +1,11 @@
+--- ../boring-e1c719c0964ba37e6935355e9bf19821b072797e/boring-sys/deps/boringssl/CMakeLists.txt.orig 2021-09-03 00:17:34.000000000 +0200
++++ ../boring-e1c719c0964ba37e6935355e9bf19821b072797e/boring-sys/deps/boringssl/CMakeLists.txt 2022-09-06 09:18:01.142118000 +0200
+@@ -86,7 +89,7 @@
+ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "mips")
+ # Just to avoid the “unknown processor” error.
+ set(ARCH "generic")
+-elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc64le")
++elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "powerpc64le|ppc64le")
+ set(ARCH "ppc64le")
+ else()
+ message(FATAL_ERROR "Unknown processor:" ${CMAKE_SYSTEM_PROCESSOR})