summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGysbert Wassenaar <nixnut@gentoo.org>2007-12-26 19:08:52 +0000
committerGysbert Wassenaar <nixnut@gentoo.org>2007-12-26 19:08:52 +0000
commit76b9001bc2b28d8f4137ec207b4372f2fe722ad3 (patch)
tree0cfd80e7844cb689d360b4f43b5777d3cb936433
parentversion bump (diff)
downloadgentoo-2-76b9001bc2b28d8f4137ec207b4372f2fe722ad3.tar.gz
gentoo-2-76b9001bc2b28d8f4137ec207b4372f2fe722ad3.tar.bz2
gentoo-2-76b9001bc2b28d8f4137ec207b4372f2fe722ad3.zip
patch to make ltrace-0.5.3 build on ppc wrt bug 203380
(Portage version: 2.1.4_rc11)
-rw-r--r--dev-util/ltrace/ChangeLog6
-rw-r--r--dev-util/ltrace/files/ltrace-0.5.3-ppc.patch10
-rw-r--r--dev-util/ltrace/ltrace-0.5.3.ebuild3
3 files changed, 17 insertions, 2 deletions
diff --git a/dev-util/ltrace/ChangeLog b/dev-util/ltrace/ChangeLog
index cd55d2e58d7e..11863341ec80 100644
--- a/dev-util/ltrace/ChangeLog
+++ b/dev-util/ltrace/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/ltrace
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ltrace/ChangeLog,v 1.42 2007/12/24 15:36:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ltrace/ChangeLog,v 1.43 2007/12/26 19:08:52 nixnut Exp $
+
+ 26 Dec 2007; nixnut <nixnut@gentoo.org> +files/ltrace-0.5.3-ppc.patch,
+ ltrace-0.5.3.ebuild:
+ patch to make ltrace-0.5.3 build on ppc wrt bug 203380
*ltrace-0.5.3 (24 Dec 2007)
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..eee870587817
--- /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/powerpc/ppc/)
+
+ CPPFLAGS += -I$(TOPDIR)/sysdeps/linux-gnu/$(ARCH)
diff --git a/dev-util/ltrace/ltrace-0.5.3.ebuild b/dev-util/ltrace/ltrace-0.5.3.ebuild
index 6634816fcd91..b6d5041cdda0 100644
--- a/dev-util/ltrace/ltrace-0.5.3.ebuild
+++ b/dev-util/ltrace/ltrace-0.5.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ltrace/ltrace-0.5.3.ebuild,v 1.2 2007/12/25 00:04:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ltrace/ltrace-0.5.3.ebuild,v 1.3 2007/12/26 19:08:52 nixnut Exp $
inherit eutils autotools
@@ -32,6 +32,7 @@ src_unpack() {
sed \
-e 's:uname -m:echo @HOST_CPU@:' \
sysdeps/linux-gnu/Makefile > sysdeps/linux-gnu/Makefile.in
+ epatch "${FILESDIR}"/${P}-ppc.patch
eautoconf
}