diff options
| author | Joshua Lock <josh@linux.intel.com> | 2011-07-19 13:26:20 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 15:27:40 +0100 |
| commit | 5fdc8ab37e11781112e74f93f6c420ecb303fa88 (patch) | |
| tree | 04736199c1088616fbd259a2ee58f8d187520540 /meta | |
| parent | 73bc4c221191387738e9aa85531af14b99ab3e6c (diff) | |
| download | poky-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>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/pseudo/pseudo/realpath_fix.patch | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_1.1.1.bb | 2 |
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 @@ | |||
| 1 | require pseudo.inc | 1 | require pseudo.inc |
| 2 | 2 | ||
| 3 | PR = "r1" | 3 | PR = "r2" |
| 4 | 4 | ||
| 5 | SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \ | 5 | SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \ |
| 6 | file://oe-config.patch \ | 6 | file://oe-config.patch \ |
