patches/strace/4.5.15/170-undef-CTL_PROC.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 11 14:39:42 2012 +1000 (2012-10-11)
changeset 3090 a221c86d9b33
parent 746 b150d6f590fc
permissions -rw-r--r--
binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Change elf2flt CT_ELF2FLT_VERSION from 'head' to 'cvs' if cvs selected in config

Also remove hardcoded 'cvs-' from elf2flt component name, used in CT_Extract,
CT_Patch and as the CT_SRC_DIR location for the configure stage.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <288db3721a37844defa5.1349931196@localhost.localdomain>
PatchWork-Id: 190789
yann@257
     1
diff -dur strace-4.5.15.orig/system.c strace-4.5.15/system.c
yann@257
     2
--- strace-4.5.15.orig/system.c	2007-01-17 00:22:36.000000000 +0100
yann@257
     3
+++ strace-4.5.15/system.c	2007-07-14 19:28:41.000000000 +0200
yann@257
     4
@@ -1612,7 +1612,9 @@
yann@257
     5
 	{ CTL_KERN, "CTL_KERN" },
yann@257
     6
 	{ CTL_VM, "CTL_VM" },
yann@257
     7
 	{ CTL_NET, "CTL_NET" },
yann@257
     8
+#ifdef CTL_PROC
yann@257
     9
 	{ CTL_PROC, "CTL_PROC" },
yann@257
    10
+#endif
yann@257
    11
 	{ CTL_FS, "CTL_FS" },
yann@257
    12
 	{ CTL_DEBUG, "CTL_DEBUG" },
yann@257
    13
 	{ CTL_DEV, "CTL_DEV" },