diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-25 16:53:49 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-07-26 23:57:20 +0200 |
commit | 192c9b1829cf63704abd9736738b85a6582fd88a (patch) | |
tree | 89e4a0f8205fe04f2d09b03c754051fe500962c2 /package/ltrace/ltrace-0.5.3-susv3-legacy.patch | |
parent | e49e2feda47fffb5e7a568a89d1f36615e75ce87 (diff) | |
download | buildroot-novena-192c9b1829cf63704abd9736738b85a6582fd88a.tar.gz buildroot-novena-192c9b1829cf63704abd9736738b85a6582fd88a.zip |
ltrace: convert to gentargets and bump to 0.5.3
[Peter: remove unneeded 0.5 USE_DEMANGLE patch]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ltrace/ltrace-0.5.3-susv3-legacy.patch')
-rw-r--r-- | package/ltrace/ltrace-0.5.3-susv3-legacy.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/ltrace/ltrace-0.5.3-susv3-legacy.patch b/package/ltrace/ltrace-0.5.3-susv3-legacy.patch new file mode 100644 index 000000000..4c9bb8ae1 --- /dev/null +++ b/package/ltrace/ltrace-0.5.3-susv3-legacy.patch @@ -0,0 +1,20 @@ +Use the strchr() function instead of the legacy index() function. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + read_config_file.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: ltrace-0.5.3/read_config_file.c +=================================================================== +--- ltrace-0.5.3.orig/read_config_file.c ++++ ltrace-0.5.3/read_config_file.c +@@ -83,7 +83,7 @@ + + while (tmp->name) { + if (!strncmp(*str, tmp->name, strlen(tmp->name)) +- && index(" ,()#*;012345[", *(*str + strlen(tmp->name)))) { ++ && strchr(" ,()#*;012345[", *(*str + strlen(tmp->name)))) { + *str += strlen(tmp->name); + return lookup_prototype(tmp->pt); + } |