patches/ltrace/0.5/120-alpha-support.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 27 19:34:13 2009 +0100 (2009-10-27)
changeset 1608 3d5aead9e15d
permissions -rw-r--r--
scripts: add sed expression to apply when renumbering patches

Some patchsets have superfluous members in their names (eg. the ones coming
from Gentoo), so it can come in handy to pass a sed RE to strip them out of
the final patch name.
Also add a 'fake' mode, where the command will only be printed and not
executed, so we can check beforehand if the rename will be OK.
     1 diff -durN ltrace-0.4.orig/Makefile.in ltrace-0.4/Makefile.in
     2 --- ltrace-0.4.orig/Makefile.in	2008-10-26 15:34:21.000000000 +0100
     3 +++ ltrace-0.4/Makefile.in	2008-10-26 15:37:40.000000000 +0100
     4 @@ -5,6 +5,7 @@
     5  OS		:= @HOST_OS@
     6  ARCH		:= $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/      \
     7  						   -e s/sun4u/sparc64/  \
     8 +						   -e s/alpha.*/alpha/  \
     9  						   -e s/arm.*/arm/      \
    10  						   -e s/sa110/arm/      \
    11  						   -e s/ppc64/ppc/      \