diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
| commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
| tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch | |
| download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz | |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch')
| -rw-r--r-- | meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch | 18 |
1 files changed, 18 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..836551ea18 --- /dev/null +++ b/meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | Change the getline return type to match its declaration. | ||
| 4 | |||
| 5 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
| 6 | |||
| 7 | diff -urN sed-4.1.2-orig/lib/getline.c sed-4.1.2/lib/getline.c | ||
| 8 | --- sed-4.1.2-orig/lib/getline.c 2010-08-31 08:47:50.070094024 +0800 | ||
| 9 | +++ sed-4.1.2/lib/getline.c 2010-08-31 08:48:50.982178172 +0800 | ||
| 10 | @@ -30,7 +30,7 @@ | ||
| 11 | necessary. Returns the number of characters read (not including the | ||
| 12 | null terminator), or -1 on error or EOF. */ | ||
| 13 | |||
| 14 | -size_t | ||
| 15 | +ssize_t | ||
| 16 | getline (lineptr, n, stream) | ||
| 17 | char **lineptr; | ||
| 18 | size_t *n; | ||
