aboutsummaryrefslogtreecommitdiffstats
path: root/testing/thermald/ppc64le.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-21 17:11:44 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-21 17:11:44 -0300
commit2fc082707c9b448ac2206b07c09668c1a4bd6d8b (patch)
tree8c1be51fce207b8aac754ba16ea8b24bf8be593d /testing/thermald/ppc64le.patch
parenta3749a34e4047c915c2a7bc32c255671fcd348c5 (diff)
downloadaports-2fc082707c9b448ac2206b07c09668c1a4bd6d8b.tar.bz2
aports-2fc082707c9b448ac2206b07c09668c1a4bd6d8b.tar.xz
testing/thermald: fix ppc64le build
Diffstat (limited to 'testing/thermald/ppc64le.patch')
-rw-r--r--testing/thermald/ppc64le.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/thermald/ppc64le.patch b/testing/thermald/ppc64le.patch
new file mode 100644
index 0000000000..537f1503b6
--- /dev/null
+++ b/testing/thermald/ppc64le.patch
@@ -0,0 +1,15 @@
+diff --git a/src/thd_engine.cpp b/src/thd_engine.cpp
+index 82882dd..6efd7cb 100644
+--- a/src/thd_engine.cpp
++++ b/src/thd_engine.cpp
+@@ -35,7 +35,9 @@
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/utsname.h>
++#ifndef __powerpc__
+ #include <cpuid.h>
++#endif
+ #include <locale>
+ #include "thd_engine.h"
+ #include "thd_cdev_therm_sys_fs.h"
+