File oiio-detectplatform-others.patch of Package OpenImageIO

Index: src/make/detectplatform.mk
===================================================================
--- src/make/detectplatform.mk.orig
+++ src/make/detectplatform.mk
@@ -25,7 +25,23 @@ ifneq (${hw},x86)
   ifneq (${hw},x86_64)
     ifneq (${hw},i386)
       ifneq (${hw},i686)
-        $(error "ERROR: Unknown hardware architecture")
+        ifneq (${hw},aarch64)
+          ifneq (${hw},ppc)
+            ifneq (${hw},ppc64)
+              ifneq (${hw},ppc64le)
+                ifneq (${hw},s390)
+                  ifneq (${hw},s390x)
+                    ifneq (${hw},armv7l)
+                      ifneq (${hw},armv6l)
+                        $(error "ERROR: Unknown hardware architecture")
+                      endif
+                    endif
+                  endif
+                endif
+              endif
+            endif
+          endif
+        endif
       endif
     endif
   endif
@@ -44,6 +59,18 @@ ifeq (${platform},unknown)
     ifeq (${hw},x86_64)
       platform := linux64
     endif
+    ifeq (${hw},aarch64)
+      platform := linux64
+    endif
+    ifeq (${hw},ppc64)
+      platform := linux64
+    endif
+    ifeq (${hw},ppc64le)
+      platform := linux64
+    endif
+    ifeq (${hw},s390x)
+      platform := linux64
+    endif
   endif
 
   # Windows
openSUSE Build Service is sponsored by