diff options
| author | Khem Raj <raj.khem@gmail.com> | 2015-04-23 20:35:20 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-27 14:59:50 +0100 |
| commit | b23855fd0bbd06d79bffc03fadf5012908df72d4 (patch) | |
| tree | cb10d983beb8dfad76b03feb220e7d833da23867 /meta/recipes-devtools/insserv/insserv_1.14.0.bb | |
| parent | 09fab50b9b0c403c5c8f1139c9f9aa33a7e98dc4 (diff) | |
| download | poky-b23855fd0bbd06d79bffc03fadf5012908df72d4.tar.gz | |
insserv: Fix build with gcc5 and clang
Kill 2 bugs with one patch
| insserv.c:997:5: note: each undeclared identifier is reported only
once for each function it appears in
| insserv.c:997:15: error: expected ';' before 'char'
| extension char buf[strlen(myname)+2+strlen(fmt)+1];
| ^
| insserv.c: In function 'main':
| insserv.c:2379:5: error: 'extension' undeclared (first use in this
function)
| extension char * argr[argc];
| ^
| insserv.c:2379:15: error: expected ';' before 'char'
| extension char * argr[argc];
| ^
| insserv.c:2401:2: error: 'argr' undeclared (first use in this
function)
| argr[c] = (char*)0;
| ^
Change-Id: I36b7fb9e8baeda5a7cc252da10c0527401248226
(From OE-Core rev: c0f074714e34145dd6cdac6df5c325fdce649f01)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/insserv/insserv_1.14.0.bb')
| -rw-r--r-- | meta/recipes-devtools/insserv/insserv_1.14.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/insserv/insserv_1.14.0.bb b/meta/recipes-devtools/insserv/insserv_1.14.0.bb index 4a33e16912..b66e98b49f 100644 --- a/meta/recipes-devtools/insserv/insserv_1.14.0.bb +++ b/meta/recipes-devtools/insserv/insserv_1.14.0.bb | |||
| @@ -11,6 +11,7 @@ PR = "r1" | |||
| 11 | SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.bz2 \ | 11 | SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.bz2 \ |
| 12 | file://makefile.patch \ | 12 | file://makefile.patch \ |
| 13 | file://disable_runtests.patch \ | 13 | file://disable_runtests.patch \ |
| 14 | file://161_bts777914_fix_undeclared_identifier.patch \ | ||
| 14 | file://insserv.conf \ | 15 | file://insserv.conf \ |
| 15 | file://run-ptest \ | 16 | file://run-ptest \ |
| 16 | " | 17 | " |
