mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
phonet-utils: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
From f7ad9a4471cee2324f216a0d82ba8097ec746c56 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 15 Jul 2017 11:48:12 -0700
|
||||
Subject: [PATCH] Include limits.h for PATH_MAX
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/pnstat.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/pnstat.c b/src/pnstat.c
|
||||
index 661a5bc..76068e6 100644
|
||||
--- a/src/pnstat.c
|
||||
+++ b/src/pnstat.c
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
#include <netinet/tcp.h>
|
||||
+#include <limits.h>
|
||||
|
||||
struct fd
|
||||
{
|
||||
--
|
||||
2.13.3
|
||||
|
||||
@@ -2,7 +2,9 @@ SUMMARY = "This small package provides a few command line tools for Linux Phonet
|
||||
HOMEPAGE = ""
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
SRC_URI = "git://gitorious.org/meego-cellular/phonet-utils.git;branch=master"
|
||||
SRC_URI = "git://gitorious.org/meego-cellular/phonet-utils.git;branch=master \
|
||||
file://0001-Include-limits.h-for-PATH_MAX.patch \
|
||||
"
|
||||
PR = "r2"
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "4acfa720fd37d178a048fc2be17180137d4a70ea"
|
||||
|
||||
Reference in New Issue
Block a user