meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-extended/lcdproc/lcdproc/0002-Include-limits.h-for-PATH_MAX-definition.patch
Changqing Li d178745cbf conf/layer.conf: add BBFILES_DYNAMIC and dynamic layers
some recipes under meta-oe have dependency on meta-python,
and test_world of yocto-check-layer will failed with error
like:

ERROR: test_world (common.CommonCheckLayer)
ERROR: Nothing PROVIDES 'python3-pytoml-native' (but
/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb
DEPENDS on or otherwise requires it). Close matches:
  python3-numpy-native
  python3-pycairo-native
  python3-rpm-native
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'mozjs', 'python3-pytoml-native']

fix by make these recipes only active when identified layers are
present

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00

42 lines
1.1 KiB
Diff

From d447a05ee560ba5894d2ed4cd93d0475c2f3c08e Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 17 Dec 2019 17:39:32 -0800
Subject: [PATCH 2/3] Include <limits.h> for PATH_MAX definition
musl libc exposes the missing include
Upstream-Status: Submitted [https://github.com/lcdproc/lcdproc/pull/142]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
server/drivers/hidraw_lib.c | 1 +
server/drivers/linux_input.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/server/drivers/hidraw_lib.c b/server/drivers/hidraw_lib.c
index 49b03f20..3b51f279 100644
--- a/server/drivers/hidraw_lib.c
+++ b/server/drivers/hidraw_lib.c
@@ -8,6 +8,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
diff --git a/server/drivers/linux_input.c b/server/drivers/linux_input.c
index 5b914d4c..6fcfc591 100644
--- a/server/drivers/linux_input.c
+++ b/server/drivers/linux_input.c
@@ -5,6 +5,7 @@
#include <dirent.h>
#include <errno.h>
+#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
--
2.24.1