64843258ce
Re-add patch 0001 to fix uClibc build, this patch was removed 2019: https://git.buildroot.net/buildroot/commit/?id=573d15b0790cfd2838cf0544ded79b415e20f5a7 Add two more patches from Alpine Linux to fix musl build. Add optional dependency to libexecinfo to provide execinfo.h. Add a patch that ensures an internal gettext symbol doesn't get used except on glibc and uclibc toolchains. Indeed, both glibc and uclibc provide the _nl_msg_cat_cntr variable, but not the musl implementation. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
642 B
Diff
31 lines
642 B
Diff
vdr package uses some macros like HOST_NAME_MAX, NAME_MAX, which are defined
|
|
in limits.h.
|
|
Needs to be explicitly included on ppc64le and for all archs for debug build.
|
|
|
|
Downloaded from
|
|
https://git.alpinelinux.org/aports/tree/community/vdr/include-missing-limits.patch
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
----
|
|
|
|
--- a/config.h
|
|
+++ b/config.h
|
|
@@ -19,6 +19,7 @@
|
|
#include "i18n.h"
|
|
#include "font.h"
|
|
#include "tools.h"
|
|
+#include <limits.h>
|
|
|
|
// VDR's own version number:
|
|
|
|
--- a/tools.c
|
|
+++ b/tools.c
|
|
@@ -27,6 +27,7 @@
|
|
#include <utime.h>
|
|
#include "i18n.h"
|
|
#include "thread.h"
|
|
+#include <limits.h>
|
|
|
|
int SysLogLevel = 3;
|
|
|