File getdata-ppc64.patch of Package getdata

Index: getdata-0.8.2/configure
===================================================================
--- getdata-0.8.2.orig/configure
+++ getdata-0.8.2/configure
@@ -4451,7 +4451,7 @@ echo
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${host} supports fast unaligned memory access" >&5
 $as_echo_n "checking whether ${host} supports fast unaligned memory access... " >&6; }
 case "${host}" in
-  i?86-*-*|powerpc-*-*|x86_64-*-*) gd_unaligned_ok=yes;
+  i?86-*-*|powerpc*-*|x86_64-*-*) gd_unaligned_ok=yes;
 
 $as_echo "#define UNALIGNED_ACCESS_OK 1" >>confdefs.h
 
Index: getdata-0.8.2/configure.ac
===================================================================
--- getdata-0.8.2.orig/configure.ac
+++ getdata-0.8.2/configure.ac
@@ -326,7 +326,7 @@ echo "*** Checking host environment"
 echo
 AC_MSG_CHECKING([whether ${host} supports fast unaligned memory access])
 case "${host}" in
-  i?86-*-*|powerpc-*-*|x86_64-*-*) gd_unaligned_ok=yes;
+  i?86-*-*|powerpc*-*|x86_64-*-*) gd_unaligned_ok=yes;
   AC_DEFINE([UNALIGNED_ACCESS_OK], [1],
             [Define to 1 if the platform supports fast unaligned memory access])
   ;;
openSUSE Build Service is sponsored by