git: 2b9368b3e50c - main - x11-toolkits/copperspice: add support for powerpc*

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sat, 26 Feb 2022 14:18:47 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b9368b3e50cf35c642a4c4b1ba5f2214c4c1fab

commit 2b9368b3e50cf35c642a4c4b1ba5f2214c4c1fab
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-26 14:10:31 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-26 14:10:31 +0000

    x11-toolkits/copperspice: add support for powerpc*
---
 .../copperspice/files/patch-src_core_global_qglobal.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/x11-toolkits/copperspice/files/patch-src_core_global_qglobal.h b/x11-toolkits/copperspice/files/patch-src_core_global_qglobal.h
new file mode 100644
index 000000000000..a1587897467d
--- /dev/null
+++ b/x11-toolkits/copperspice/files/patch-src_core_global_qglobal.h
@@ -0,0 +1,19 @@
+--- src/core/global/qglobal.h.orig	2022-02-26 11:39:19 UTC
++++ src/core/global/qglobal.h
+@@ -118,6 +118,16 @@
+ 
+ #   endif
+ 
++#elif defined(__powerpc64__)
++// 64-bit POWER
++
++#  define Q_PROCESSOR_PPC_64
++
++#elif defined(__powerpc__)
++// 32-bit POWER
++
++#  define Q_PROCESSOR_PPC
++
+ #else
+ #   error Unable to detect system architecture, contact CopperSpice development
+