Fix building ltrace on PowerPC.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 20 19:05:52 2009 +0000 (2009-01-20)
changeset 114786930cd9340a
parent 1146 bda384ea307a
child 1148 081205fd3790
Fix building ltrace on PowerPC.

On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
ltrace wouldn't build on PowerPC because in the
sysdeps/linux-gnu directory in the ltrace source tree
the powerpc directory is called ppc. I added some code
in 400-ltrace.sh to create a symlink for it so it will
build now.

Patch slightly modified by me before applying.

/trunk/scripts/build/debug/400-ltrace.sh | 5 5 0 0 +++++
1 file changed, 5 insertions(+)
scripts/build/debug/400-ltrace.sh
     1.1 --- a/scripts/build/debug/400-ltrace.sh	Tue Jan 20 18:55:46 2009 +0000
     1.2 +++ b/scripts/build/debug/400-ltrace.sh	Tue Jan 20 19:05:52 2009 +0000
     1.3 @@ -11,6 +11,11 @@
     1.4  do_debug_ltrace_extract() {
     1.5      CT_Extract "ltrace-${CT_LTRACE_VERSION}"
     1.6      CT_Patch "ltrace-${CT_LTRACE_VERSION}"
     1.7 +    # ltrace uses ppc instead of powerpc for the arch name
     1.8 +    # create a symlink to get it to build for powerpc
     1.9 +    CT_Pushd "${CT_SRC_DIR}/ltrace-${CT_LTRACE_VERSION}/sysdeps/linux-gnu"
    1.10 +    CT_DoExecLog ALL ln -sf ppc powerpc
    1.11 +    CT_Popd
    1.12  }
    1.13  
    1.14  do_debug_ltrace_build() {