patches/strace/4.5.17/150-undef-CTL_PROC.patch
author Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Sat Jul 14 19:52:58 2012 +0200 (2012-07-14)
changeset 2998 7b1dda3ab075
parent 747 d3e603e7c17c
permissions -rw-r--r--
kconfig: fix compatibility with older flex versions

Older flex versions require there be no space between options and
their arguments. For example '-P zconf' is not correct and should
be '-Pzconf'. This is for example the case for flex-2.5.4 shipped
with CentOS 5.8.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Message-Id: <9652ce148bddc1def484.1339241000@beantl019720>
     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" },