patches/strace/4.5.17/150-undef-CTL_PROC.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 17:54:21 2011 +0200 (2011-07-17)
changeset 2888 dd71df95903a
parent 747 d3e603e7c17c
permissions -rw-r--r--
cc/gcc: pass the companion libs prefix to cc_core

In case of canadian-cross, the companion libraries are not the same for
the core cc (they run on 'build') as they are for the final cc (they run
on 'host').

Prepare for this differentiation (coming later), while retaining the
current behavior (to use the same compblibs).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 Original patch from gentoo: ../../dev/crosstool-NG/ct-ng.trunk/patches/strace/4.5.17/150-undef-CTL_PROC.patch
     2 -= BEGIN original header =-
     3 diff -dur strace-4.5.16.orig/system.c strace-4.5.16/system.c
     4 -= END original header =-
     5 diff -durN strace-4.5.17.orig/system.c strace-4.5.17/system.c
     6 --- strace-4.5.17.orig/system.c	2007-01-17 00:22:36.000000000 +0100
     7 +++ strace-4.5.17/system.c	2008-10-24 21:30:13.000000000 +0200
     8 @@ -1612,7 +1612,9 @@
     9  	{ CTL_KERN, "CTL_KERN" },
    10  	{ CTL_VM, "CTL_VM" },
    11  	{ CTL_NET, "CTL_NET" },
    12 +#ifdef CTL_PROC
    13  	{ CTL_PROC, "CTL_PROC" },
    14 +#endif
    15  	{ CTL_FS, "CTL_FS" },
    16  	{ CTL_DEBUG, "CTL_DEBUG" },
    17  	{ CTL_DEV, "CTL_DEV" },