[vdr] [PATCH 3/4] i18n.c: _nl_msg_cat_cntr is an internal symbol of some intl implementation

2023-05-16 Thread Bernd Kuhls
From: Thomas Petazzoni It is supported by glibc and uClibc (which both define __GLIBC__) but not musl (which doesn't define __GLIBC__). On musl, it doesn't do anything because musl has a basic NLS implementation. Even gettext-tiny defines _nl_msg_cat_cntr as a dummy symbol in its stub

[vdr] [PATCH 2/4] Include limits.h

2023-05-16 Thread Bernd Kuhls
From: Roberto Oliveira 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

[vdr] [PATCH 4/4] Fix musl build

2023-05-16 Thread Bernd Kuhls
malloc_trim is a GNU extension and therefore not present in non-glibc C libraries such as musl. Wrapping this in an ifdef fixes musl builds. Signed-off-by: Bernd Kuhls --- vdr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vdr.c b/vdr.c index 0f426e61..bc4902de 100644 --- a/vdr.c +++

[vdr] [PATCH 1/4] Fix musl build

2023-05-16 Thread Bernd Kuhls
From: Carlo Landmeter Downloaded from https://git.alpinelinux.org/aports/tree/community/vdr/musl-compat.patch Initial commit: https://git.alpinelinux.org/aports/commit/?id=140248605cee4a0160f80b47ce77a823be2f740a Signed-off-by: Bernd Kuhls --- i18n.h | 2 +- osd.c| 2 +- thread.c |