Armin Kuster eda0d3ecb3 obexd: refreah patches
WARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
patching file plugins/mas.c
Hunk #1 succeeded at 30 with fuzz 2 (offset 1 line).

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:39 -07:00

41 lines
1.3 KiB
Diff

From fb5056fea9559b3ec3bb61967a112b6c793b700d Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 8 Jan 2013 21:33:34 -0800
Subject: [PATCH] include unistd.h to get ssize_t definitions
Fixes errors like
| In file included from plugins/mas.c:36:0:
| ./src/obex.h:39:1: error: unknown type name 'ssize_t'
| ./src/obex.h:49:1: error: unknown type name 'ssize_t'
| ./src/obex.h:50:1: error: unknown type name 'ssize_t'
| In file included from plugins/mas.c:38:0:
| ./src/mimetype.h:36:2: error: expected specifier-qualifier-list before 'ssize_t'
| In file included from plugins/mas.c:39:0:
| plugins/filesystem.h:24:1: error: unknown type name 'ssize_t'
| plugins/mas.c:550:1: error: unknown type name 'ssize_t'
| plugins/mas.c:557:1: error: unknown type name 'ssize_t'
| plugins/mas.c: In function 'any_read':
| plugins/mas.c:560:2: error: unknown type name 'ssize_t'
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
plugins/mas.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/mas.c b/plugins/mas.c
index 1b18059..b519507 100644
--- a/plugins/mas.c
+++ b/plugins/mas.c
@@ -30,6 +30,7 @@
#include <glib.h>
#include <fcntl.h>
#include <inttypes.h>
+#include <unistd.h>
#include <gobex/gobex.h>
#include <gobex/gobex-apparam.h>