File clanlib-ppc.patch of Package clanlib

Index: ClanLib-2.3.6/Sources/Core/System/detect_cpu_ext.cpp
===================================================================
--- ClanLib-2.3.6.orig/Sources/Core/System/detect_cpu_ext.cpp
+++ ClanLib-2.3.6/Sources/Core/System/detect_cpu_ext.cpp
@@ -30,7 +30,7 @@
 #include "Core/precomp.h"
 #include "API/Core/System/system.h"
 
-#ifdef CL_ARM_PLATFORM
+#if defined(CL_ARM_PLATFORM)|| defined(CL_PPC_PLATFORM)
 bool CL_System::detect_cpu_extension(CL_CPU_ExtensionPPC ext)
 {
 	throw ("Congratulations, you've just been selected to code this feature!");
openSUSE Build Service is sponsored by