File mraa-i686.patch of Package mraa

Index: mraa-2.2.0/CMakeLists.txt
===================================================================
--- mraa-2.2.0.orig/CMakeLists.txt
+++ mraa-2.2.0/CMakeLists.txt
@@ -184,7 +184,7 @@ else ()
 endif()
 
 if (DETECTED_ARCH STREQUAL "i586" OR DETECTED_ARCH STREQUAL "x86_64"
-    OR DETECTED_ARCH STREQUAL "i386")
+    OR DETECTED_ARCH STREQUAL "i386" OR DETECTED_ARCH STREQUAL "i686")
   set (X86PLAT ON)
 elseif (DETECTED_ARCH MATCHES "arm.*" OR DETECTED_ARCH MATCHES "aarch64")
   set (ARMPLAT ON)
openSUSE Build Service is sponsored by