summaryrefslogtreecommitdiff
path: root/meta
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:25:02 +0100
commit46b2bc1d4694f927bc3d6c108309615a4903cede (patch)
tree61389d40524014877966ab6f98e835b600eb0020 /meta
parent8465b7d7d069b3d6f485daf22672f57ea17a4cb0 (diff)
downloadopenembedded-core-46b2bc1d4694f927bc3d6c108309615a4903cede.tar.gz
openembedded-core-46b2bc1d4694f927bc3d6c108309615a4903cede.tar.bz2
openembedded-core-46b2bc1d4694f927bc3d6c108309615a4903cede.tar.xz
openembedded-core-46b2bc1d4694f927bc3d6c108309615a4903cede.zip
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> Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta')
-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 7beea519c..4a107e006 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
+static void
+pseudo_init_one_wrapper(pseudo_function *func) {
-+ int (*f)(void);
++ int (*f)(void) = (int (*)(void)) NULL;
+ char *e;
+ if (*func->real != NULL) {
+ /* 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 f1c8e6371..0a61aecf1 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 @@
require pseudo.inc
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
file://oe-config.patch \