diff options
author | 2020-05-28 21:36:59 +0200 | |
---|---|---|
committer | 2020-05-28 21:36:59 +0200 | |
commit | f811110a7115914c4bb0449aa0f448462dc11ee4 (patch) | |
tree | 2e988799111c6ae19fb477d7e4f8f3da31d06a2c | |
parent | a47c1cfda46a1a7a58d98762a3f520ffd0580fae (diff) | |
parent | 7e173d728de505003af9fe73b32bd891a278d07c (diff) | |
download | meta-qcom-f811110a7115914c4bb0449aa0f448462dc11ee4.tar.gz meta-qcom-f811110a7115914c4bb0449aa0f448462dc11ee4.tar.bz2 meta-qcom-f811110a7115914c4bb0449aa0f448462dc11ee4.zip |
Merge pull request #154 from YoeDistro/yoe/mut
pd-mapper: Fix build with musl
-rw-r--r-- | recipes-support/pd-mapper/pd-mapper/0001-pd-mapper-Include-limits.h-for-PATH_MAX.patch | 29 | ||||
-rw-r--r-- | recipes-support/pd-mapper/pd-mapper_git.bb | 4 |
2 files changed, 32 insertions, 1 deletions
diff --git a/recipes-support/pd-mapper/pd-mapper/0001-pd-mapper-Include-limits.h-for-PATH_MAX.patch b/recipes-support/pd-mapper/pd-mapper/0001-pd-mapper-Include-limits.h-for-PATH_MAX.patch new file mode 100644 index 0000000..de3fea8 --- /dev/null +++ b/recipes-support/pd-mapper/pd-mapper/0001-pd-mapper-Include-limits.h-for-PATH_MAX.patch @@ -0,0 +1,29 @@ +From 874dadf1168f8a1b2b1bd4ab5bb4a20097147ab0 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 28 May 2020 08:01:37 -0700 +Subject: [PATCH] pd-mapper: Include limits.h for PATH_MAX + +Fixes +pd-mapper.c:199:22: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? + +Upstream-Status: Submitted [https://github.com/andersson/pd-mapper/pull/4] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + pd-mapper.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pd-mapper.c b/pd-mapper.c +index 45177ae..f5d45ee 100644 +--- a/pd-mapper.c ++++ b/pd-mapper.c +@@ -36,6 +36,7 @@ + #include <fcntl.h> + #include <libgen.h> + #include <libqrtr.h> ++#include <limits.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-- +2.26.2 + diff --git a/recipes-support/pd-mapper/pd-mapper_git.bb b/recipes-support/pd-mapper/pd-mapper_git.bb index e915f9f..9e5ca11 100644 --- a/recipes-support/pd-mapper/pd-mapper_git.bb +++ b/recipes-support/pd-mapper/pd-mapper_git.bb @@ -10,7 +10,9 @@ DEPENDS = "qrtr" inherit systemd SRCREV = "ab5074fdd5e4130578aa4c99b00d44527a79636f" -SRC_URI = "git://github.com/andersson/${BPN}.git;branch=master;protocol=https" +SRC_URI = "git://github.com/andersson/${BPN}.git;branch=master;protocol=https \ + file://0001-pd-mapper-Include-limits.h-for-PATH_MAX.patch \ +" PV = "0.0+${SRCPV}" |