diff options
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch | 23 | ||||
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono_1.12.bb | 3 |
2 files changed, 25 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch b/meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch new file mode 100644 index 0000000000..71903c47da --- /dev/null +++ b/meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | include unistd.h for getting ssize_t definitions | ||
2 | Fixes errors like | ||
3 | |||
4 | | In file included from src/sms.c:38:0: | ||
5 | | src/storage.h:32:1: error: unknown type name 'ssize_t' | ||
6 | | src/storage.h:36:1: error: unknown type name 'ssize_t' | ||
7 | |||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | |||
12 | Index: ofono-1.12/src/storage.h | ||
13 | =================================================================== | ||
14 | --- ofono-1.12.org/src/storage.h 2013-01-04 10:01:24.137804178 -0800 | ||
15 | +++ ofono-1.12/src/storage.h 2013-01-04 10:02:09.325806426 -0800 | ||
16 | @@ -26,6 +26,7 @@ | ||
17 | #endif | ||
18 | |||
19 | #include <fcntl.h> | ||
20 | +#include <unistd.h> | ||
21 | |||
22 | int create_dirs(const char *filename, const mode_t mode); | ||
23 | |||
diff --git a/meta/recipes-connectivity/ofono/ofono_1.12.bb b/meta/recipes-connectivity/ofono/ofono_1.12.bb index 17679717ca..c33ede4b47 100644 --- a/meta/recipes-connectivity/ofono/ofono_1.12.bb +++ b/meta/recipes-connectivity/ofono/ofono_1.12.bb | |||
@@ -3,8 +3,9 @@ require ofono.inc | |||
3 | SRC_URI = "\ | 3 | SRC_URI = "\ |
4 | ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \ | 4 | ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \ |
5 | file://ofono \ | 5 | file://ofono \ |
6 | file://missing-ssize_t.patch \ | ||
6 | " | 7 | " |
7 | PR = "r0" | 8 | PR = "r1" |
8 | 9 | ||
9 | SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99" | 10 | SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99" |
10 | SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751" | 11 | SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751" |