aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-26 14:10:31 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-26 14:10:31 +0000
commit2b9368b3e50cf35c642a4c4b1ba5f2214c4c1fab (patch)
tree5e887db6ceb3a732cd948b827d35d979aceb0ae2
parent9eb722422a1f5ca85f421f139eb85aac7cf89016 (diff)
downloadports-2b9368b3e50cf35c642a4c4b1ba5f2214c4c1fab.tar.gz
ports-2b9368b3e50cf35c642a4c4b1ba5f2214c4c1fab.zip
x11-toolkits/copperspice: add support for powerpc*
-rw-r--r--x11-toolkits/copperspice/files/patch-src_core_global_qglobal.h19
1 files changed, 19 insertions, 0 deletions
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
+