git: 924df61105bd - main - devel/opentelemetry-cpp: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 12:01:04 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=924df61105bd2993516fb1406f64120ea04eb3db

commit 924df61105bd2993516fb1406f64120ea04eb3db
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-07-29 22:38:47 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-08-04 12:00:17 +0000

    devel/opentelemetry-cpp: fix build on powerpc
    
      opentelemetry-cpp: unrecognized target processor powerpc configuration!
---
 devel/opentelemetry-cpp/files/patch-CMakeLists.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/opentelemetry-cpp/files/patch-CMakeLists.txt b/devel/opentelemetry-cpp/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..a6fda7189d25
--- /dev/null
+++ b/devel/opentelemetry-cpp/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2024-07-29 22:38:04 UTC
++++ CMakeLists.txt
+@@ -69,6 +69,8 @@ else()
+     set(ARCH ppc64le)
+   elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64")
+     set(ARCH ppc64)
++  elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
++    set(ARCH ppc)
+   elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(mips.*|MIPS.*)")
+     set(ARCH mips)
+   elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(riscv.*|RISCV.*)")