patches/strace/4.5.17/150-undef-CTL_PROC.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Fri Nov 09 19:42:32 2012 +0100 (2012-11-09)
changeset 3104 7da91f9ba328
parent 747 d3e603e7c17c
permissions -rw-r--r--
cc/gcc: fix patches for 4.6.{0,1}

Remove the sparc part, as it touches code that does not exist in
those versions of gcc (it was added at 4.6.2).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
CC: Florian Fainelli <f.fainelli@gmail.com>
     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" },