File strace-ppc64le.patch of Package strace

Index: strace-4.8/configure
===================================================================
--- strace-4.8.orig/configure
+++ strace-4.8/configure
@@ -4660,7 +4660,7 @@ powerpc*)
 
 $as_echo "#define POWERPC 1" >>confdefs.h
 
-	if test $host_cpu = powerpc64; then
+	if test $host_cpu = powerpc64 || test $host_cpu = powerpc64le ; then
 
 $as_echo "#define POWERPC64 1" >>confdefs.h
 
Index: strace-4.8/configure.ac
===================================================================
--- strace-4.8.orig/configure.ac
+++ strace-4.8/configure.ac
@@ -54,7 +54,7 @@ alpha*)
 powerpc*)
 	arch=powerpc
 	AC_DEFINE([POWERPC], 1, [Define for the PowerPC architecture.])
-	if test $host_cpu = powerpc64; then
+	if test $host_cpu = powerpc64 || test $host_cpu = powerpc64le; then
 		AC_DEFINE([POWERPC64], 1, [Define for the PowerPC64 architecture.])
 	fi
 	;;
openSUSE Build Service is sponsored by