patches/gcc/4.3.0/310-uclibc-conf-noupstream.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
parent 746 b150d6f590fc
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 Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/uclibc/90_all_103-uclibc-conf-noupstream.patch
     2 diff -durN gcc-4.3.0.orig/gcc/config.gcc gcc-4.3.0/gcc/config.gcc
     3 --- gcc-4.3.0.orig/gcc/config.gcc	2008-06-10 14:44:51.000000000 +0200
     4 +++ gcc-4.3.0/gcc/config.gcc	2008-06-10 14:45:31.000000000 +0200
     5 @@ -2142,7 +2142,7 @@
     6          ;;
     7  sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
     8  sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
     9 -  sh-*-linux* | sh[346lbe]*-*-linux* | \
    10 +  sh*-*-linux* | sh[346lbe]*-*-linux* | \
    11    sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
    12     sh64-*-netbsd* | sh64l*-*-netbsd*)
    13  	tmake_file="${tmake_file} sh/t-sh sh/t-elf"