diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-extended/sed/sed-4.1.2 | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/sed/sed-4.1.2')
-rw-r--r-- | meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch b/meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch new file mode 100644 index 0000000000..d91960b3ee --- /dev/null +++ b/meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Change the getline return type to match its declaration. | ||
2 | |||
3 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
4 | |||
5 | diff -urN sed-4.1.2-orig/lib/getline.c sed-4.1.2/lib/getline.c | ||
6 | --- sed-4.1.2-orig/lib/getline.c 2010-08-31 08:47:50.070094024 +0800 | ||
7 | +++ sed-4.1.2/lib/getline.c 2010-08-31 08:48:50.982178172 +0800 | ||
8 | @@ -30,7 +30,7 @@ | ||
9 | necessary. Returns the number of characters read (not including the | ||
10 | null terminator), or -1 on error or EOF. */ | ||
11 | |||
12 | -size_t | ||
13 | +ssize_t | ||
14 | getline (lineptr, n, stream) | ||
15 | char **lineptr; | ||
16 | size_t *n; | ||