git: 18584dca4b2e - main - devel/glog: fix unwind detection on powerpc64*

Piotr Kubaj pkubaj at FreeBSD.org
Fri May 28 14:07:18 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18584dca4b2e8561dbbb5b773b69c4b95f9b74cb

commit 18584dca4b2e8561dbbb5b773b69c4b95f9b74cb
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-05-28 14:07:14 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-05-28 14:07:14 +0000

    devel/glog: fix unwind detection on powerpc64*
---
 devel/glog/files/patch-cmake_FindUnwind.cmake | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/devel/glog/files/patch-cmake_FindUnwind.cmake b/devel/glog/files/patch-cmake_FindUnwind.cmake
new file mode 100644
index 000000000000..55c3ac4ee483
--- /dev/null
+++ b/devel/glog/files/patch-cmake_FindUnwind.cmake
@@ -0,0 +1,12 @@
+--- cmake/FindUnwind.cmake.orig	2021-05-28 14:02:50 UTC
++++ cmake/FindUnwind.cmake
+@@ -19,7 +19,8 @@ elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
+     set (Unwind_ARCH "x86_64")
+ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
+     set (Unwind_ARCH "x86")
+-elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc64")
++elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc64" OR
++	CMAKE_SYSTEM_PROCESSOR MATCHES "^powerpc64")
+     set (Unwind_ARCH "ppc64")
+ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc")
+     set (Unwind_ARCH "ppc32")


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