diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-17 20:10:09 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-24 18:58:50 +0200 |
commit | caf460d7fc1b6e22e23504a52dd1ba5ed9194791 (patch) | |
tree | d2d9d949e1f6fe38fbab2c01fa579533e22b6d85 /meta-oe/recipes-connectivity/phonet-utils | |
parent | d96940ac54e0d6197f83d3183e9da6d21a7dcdd9 (diff) | |
download | meta-openembedded-caf460d7fc1b6e22e23504a52dd1ba5ed9194791.tar.gz |
phonet-utils: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/phonet-utils')
-rw-r--r-- | meta-oe/recipes-connectivity/phonet-utils/phonet-utils/0001-Include-limits.h-for-PATH_MAX.patch | 25 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/phonet-utils/phonet-utils_git.bb | 4 |
2 files changed, 28 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/phonet-utils/phonet-utils/0001-Include-limits.h-for-PATH_MAX.patch b/meta-oe/recipes-connectivity/phonet-utils/phonet-utils/0001-Include-limits.h-for-PATH_MAX.patch new file mode 100644 index 000000000..8bb7e5a18 --- /dev/null +++ b/meta-oe/recipes-connectivity/phonet-utils/phonet-utils/0001-Include-limits.h-for-PATH_MAX.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From f7ad9a4471cee2324f216a0d82ba8097ec746c56 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 15 Jul 2017 11:48:12 -0700 | ||
4 | Subject: [PATCH] Include limits.h for PATH_MAX | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | src/pnstat.c | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/src/pnstat.c b/src/pnstat.c | ||
12 | index 661a5bc..76068e6 100644 | ||
13 | --- a/src/pnstat.c | ||
14 | +++ b/src/pnstat.c | ||
15 | @@ -35,6 +35,7 @@ | ||
16 | #include <dirent.h> | ||
17 | #include <unistd.h> | ||
18 | #include <netinet/tcp.h> | ||
19 | +#include <limits.h> | ||
20 | |||
21 | struct fd | ||
22 | { | ||
23 | -- | ||
24 | 2.13.3 | ||
25 | |||
diff --git a/meta-oe/recipes-connectivity/phonet-utils/phonet-utils_git.bb b/meta-oe/recipes-connectivity/phonet-utils/phonet-utils_git.bb index 558996391..3c599950f 100644 --- a/meta-oe/recipes-connectivity/phonet-utils/phonet-utils_git.bb +++ b/meta-oe/recipes-connectivity/phonet-utils/phonet-utils_git.bb | |||
@@ -2,7 +2,9 @@ SUMMARY = "This small package provides a few command line tools for Linux Phonet | |||
2 | HOMEPAGE = "" | 2 | HOMEPAGE = "" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
5 | SRC_URI = "git://gitorious.org/meego-cellular/phonet-utils.git;branch=master" | 5 | SRC_URI = "git://gitorious.org/meego-cellular/phonet-utils.git;branch=master \ |
6 | file://0001-Include-limits.h-for-PATH_MAX.patch \ | ||
7 | " | ||
6 | PR = "r2" | 8 | PR = "r2" |
7 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
8 | SRCREV = "4acfa720fd37d178a048fc2be17180137d4a70ea" | 10 | SRCREV = "4acfa720fd37d178a048fc2be17180137d4a70ea" |