summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-19 13:26:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-20 15:27:40 +0100
commit5fdc8ab37e11781112e74f93f6c420ecb303fa88 (patch)
tree04736199c1088616fbd259a2ee58f8d187520540
parent73bc4c221191387738e9aa85531af14b99ab3e6c (diff)
downloadpoky-5fdc8ab37e11781112e74f93f6c420ecb303fa88.tar.gz
pseudo: fix uninitialised variable in realpath_fix.patch
Several users reported issues with pseudo on CentOS 5.x hosts, Matthew McClintock tracked the issue to the realpath_fix.patch and Mark Hatle supplied the included fix. CC: Matthew McClintock <msm@freescale.com> CC: Mark Hatle <mark.hatle@windriver.com> (From OE-Core rev: 46b2bc1d4694f927bc3d6c108309615a4903cede) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/pseudo/pseudo/realpath_fix.patch2
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_1.1.1.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo/realpath_fix.patch b/meta/recipes-devtools/pseudo/pseudo/realpath_fix.patch
index 7beea519c5..4a107e006c 100644
--- a/meta/recipes-devtools/pseudo/pseudo/realpath_fix.patch
+++ b/meta/recipes-devtools/pseudo/pseudo/realpath_fix.patch
@@ -65,7 +65,7 @@ index 600a918..07a4429 100644
65 65
66+static void 66+static void
67+pseudo_init_one_wrapper(pseudo_function *func) { 67+pseudo_init_one_wrapper(pseudo_function *func) {
68+ int (*f)(void); 68+ int (*f)(void) = (int (*)(void)) NULL;
69+ char *e; 69+ char *e;
70+ if (*func->real != NULL) { 70+ if (*func->real != NULL) {
71+ /* already initialized */ 71+ /* already initialized */
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.1.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.1.1.bb
index f1c8e63714..0a61aecf19 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.1.1.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.1.1.bb
@@ -1,6 +1,6 @@
1require pseudo.inc 1require pseudo.inc
2 2
3PR = "r1" 3PR = "r2"
4 4
5SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \ 5SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
6 file://oe-config.patch \ 6 file://oe-config.patch \