summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ltrace/files/ltrace-0.5.3-ppc.patch')
-rw-r--r--dev-util/ltrace/files/ltrace-0.5.3-ppc.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-util/ltrace/files/ltrace-0.5.3-ppc.patch b/dev-util/ltrace/files/ltrace-0.5.3-ppc.patch
new file mode 100644
index 000000000000..e344c3e28f5b
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.5.3-ppc.patch
@@ -0,0 +1,10 @@
+diff -Naur ltrace-0.5.old/sysdeps/linux-gnu/Makefile.in ltrace-0.5/sysdeps/linux-gnu/Makefile.in
+--- ltrace-0.5.old/sysdeps/linux-gnu/Makefile.in 2007-12-26 18:55:42.000000000 +0000
++++ ltrace-0.5/sysdeps/linux-gnu/Makefile.in 2007-12-26 18:55:55.000000000 +0000
+@@ -1,5 +1,6 @@
+ ARCH := $(shell echo @HOST_CPU@ | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
+- -e s/arm.*/arm/ -e s/sa110/arm/ -e s/ppc64/ppc/ -e s/s390x/s390/)
++ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/ppc64/ppc/ -e s/s390x/s390/ \
++ -e s/powerpc64/ppc/ -e s/powerpc/ppc/)
+
+ CPPFLAGS += -I$(TOPDIR)/sysdeps/linux-gnu/$(ARCH)