* [Buildroot] [PATCH 1/4] package/vdr: bump version to 2.6.0
@ 2021-12-30 20:55 Bernd Kuhls
2021-12-30 20:55 ` [Buildroot] [PATCH 2/4] package/libexecinfo: new package Bernd Kuhls
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Bernd Kuhls @ 2021-12-30 20:55 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
Changelog: http://www.tvdr.de/changelog.htm
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/vdr/vdr.hash | 2 +-
package/vdr/vdr.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/vdr/vdr.hash b/package/vdr/vdr.hash
index 3776296aa5..d8f1cb192e 100644
--- a/package/vdr/vdr.hash
+++ b/package/vdr/vdr.hash
@@ -1,3 +1,3 @@
# Locally computed
-sha256 27026b78a663758211d15c83a21555e28d91ab640c6d4f6cdd860f2abf1cae84 vdr-2.5.6.tar.gz
+sha256 a8e9940d593c41a42eb69db56d1a659e15deb31e131090d8c146a6e25501825a vdr-2.6.0.tar.gz
sha256 ddb9db7630752f8fdc6898f7c99a99eaeeac5213627ecb093df9c82f56175dc7 COPYING
diff --git a/package/vdr/vdr.mk b/package/vdr/vdr.mk
index 251ffb9f04..51affe5a7b 100644
--- a/package/vdr/vdr.mk
+++ b/package/vdr/vdr.mk
@@ -4,7 +4,7 @@
#
################################################################################
-VDR_VERSION = 2.5.6
+VDR_VERSION = 2.6.0
VDR_SITE = $(call github,vdr-projects,vdr,$(VDR_VERSION))
VDR_LICENSE = GPL-2.0+
VDR_LICENSE_FILES = COPYING
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Buildroot] [PATCH 2/4] package/libexecinfo: new package 2021-12-30 20:55 [Buildroot] [PATCH 1/4] package/vdr: bump version to 2.6.0 Bernd Kuhls @ 2021-12-30 20:55 ` Bernd Kuhls 2021-12-30 20:55 ` [Buildroot] [PATCH 3/4] package/Makefile.in: fix per-package build with gettext-gnu Bernd Kuhls 2021-12-30 20:55 ` [Buildroot] [PATCH 4/4] package/vdr: enable musl/uclibc build Bernd Kuhls 2 siblings, 0 replies; 6+ messages in thread From: Bernd Kuhls @ 2021-12-30 20:55 UTC (permalink / raw) To: buildroot; +Cc: Thomas Petazzoni Provides execinfo.h for non-glibc toolchains. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- package/Config.in | 1 + package/libexecinfo/Config.in | 7 +++++++ package/libexecinfo/libexecinfo.hash | 3 +++ package/libexecinfo/libexecinfo.mk | 30 ++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 package/libexecinfo/Config.in create mode 100644 package/libexecinfo/libexecinfo.hash create mode 100644 package/libexecinfo/libexecinfo.mk diff --git a/package/Config.in b/package/Config.in index 8c336ba85a..fb56c9ce75 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1966,6 +1966,7 @@ menu "Other" source "package/libev/Config.in" source "package/libevdev/Config.in" source "package/libevent/Config.in" + source "package/libexecinfo/Config.in" source "package/libffi/Config.in" source "package/libgee/Config.in" source "package/libgeos/Config.in" diff --git a/package/libexecinfo/Config.in b/package/libexecinfo/Config.in new file mode 100644 index 0000000000..473a4f7181 --- /dev/null +++ b/package/libexecinfo/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBEXECINFO + bool "libexecinfo" + depends on !BR2_TOOLCHAIN_USES_GLIBC + help + Library for inspecting program's backtrace + + https://github.com/mikroskeem/libexecinfo diff --git a/package/libexecinfo/libexecinfo.hash b/package/libexecinfo/libexecinfo.hash new file mode 100644 index 0000000000..4719b7699e --- /dev/null +++ b/package/libexecinfo/libexecinfo.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 0462304192fab38c39a376594db1c8bdab4ebda2736bf54f01715917f430611e libexecinfo-1.1-3.tar.gz +sha256 46fbc8e6849a164c4ba8fd5875748bde302bf3cd713622af0e51b4e10344f516 execinfo.h diff --git a/package/libexecinfo/libexecinfo.mk b/package/libexecinfo/libexecinfo.mk new file mode 100644 index 0000000000..85f4fd8c10 --- /dev/null +++ b/package/libexecinfo/libexecinfo.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# libexecinfo +# +################################################################################ + +LIBEXECINFO_VERSION = 1.1-3 +LIBEXECINFO_SITE = $(call github,mikroskeem,libexecinfo,$(LIBEXECINFO_VERSION)) +LIBEXECINFO_LICENSE = BSD-2-Clause +LIBEXECINFO_LICENSE_FILES = execinfo.h +LIBEXECINFO_INSTALL_STAGING = YES + +define LIBEXECINFO_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c" +endef + +define LIBEXECINFO_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c" \ + DESTDIR="$(STAGING_DIR)" PREFIX=/usr install +endef + +define LIBEXECINFO_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c" \ + DESTDIR="$(TARGET_DIR)" PREFIX=/usr install +endef + +$(eval $(generic-package)) -- 2.30.2 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/4] package/Makefile.in: fix per-package build with gettext-gnu 2021-12-30 20:55 [Buildroot] [PATCH 1/4] package/vdr: bump version to 2.6.0 Bernd Kuhls 2021-12-30 20:55 ` [Buildroot] [PATCH 2/4] package/libexecinfo: new package Bernd Kuhls @ 2021-12-30 20:55 ` Bernd Kuhls 2021-12-30 21:34 ` Thomas Petazzoni [not found] ` <20211230223421.059f0917__21186.4138067298$1640900090$gmane$org@windsurf> 2021-12-30 20:55 ` [Buildroot] [PATCH 4/4] package/vdr: enable musl/uclibc build Bernd Kuhls 2 siblings, 2 replies; 6+ messages in thread From: Bernd Kuhls @ 2021-12-30 20:55 UTC (permalink / raw) To: buildroot; +Cc: Thomas Petazzoni Building a package which needs -lintl fails because the package gettext-gnu, containing this library, is not rsync'ed to the build directory. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- package/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index dae7a859fd..bd015da316 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -391,7 +391,7 @@ ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) NLS_OPTS = --enable-nls TARGET_NLS_DEPENDENCIES = host-gettext ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) -TARGET_NLS_DEPENDENCIES += gettext +TARGET_NLS_DEPENDENCIES += gettext-gnu TARGET_NLS_LIBS += -lintl endif else -- 2.30.2 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 3/4] package/Makefile.in: fix per-package build with gettext-gnu 2021-12-30 20:55 ` [Buildroot] [PATCH 3/4] package/Makefile.in: fix per-package build with gettext-gnu Bernd Kuhls @ 2021-12-30 21:34 ` Thomas Petazzoni [not found] ` <20211230223421.059f0917__21186.4138067298$1640900090$gmane$org@windsurf> 1 sibling, 0 replies; 6+ messages in thread From: Thomas Petazzoni @ 2021-12-30 21:34 UTC (permalink / raw) To: Bernd Kuhls; +Cc: buildroot On Thu, 30 Dec 2021 21:55:43 +0100 Bernd Kuhls <bernd.kuhls@t-online.de> wrote: > Building a package which needs -lintl fails because the package > gettext-gnu, containing this library, is not rsync'ed to the build > directory. > > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Hu? Could you explain? > TARGET_NLS_DEPENDENCIES = host-gettext > ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) > -TARGET_NLS_DEPENDENCIES += gettext > +TARGET_NLS_DEPENDENCIES += gettext-gnu gettext is a virtual package that depends either on gettext-gnu or gettext-tiny, and both of them provide a libintl implementation. How can this patch be correct? Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20211230223421.059f0917__21186.4138067298$1640900090$gmane$org@windsurf>]
* Re: [Buildroot] [PATCH 3/4] package/Makefile.in: fix per-package build with gettext-gnu [not found] ` <20211230223421.059f0917__21186.4138067298$1640900090$gmane$org@windsurf> @ 2021-12-30 21:53 ` Bernd Kuhls 0 siblings, 0 replies; 6+ messages in thread From: Bernd Kuhls @ 2021-12-30 21:53 UTC (permalink / raw) To: buildroot Am Thu, 30 Dec 2021 22:34:21 +0100 schrieb Thomas Petazzoni: >> TARGET_NLS_DEPENDENCIES = host-gettext >> ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) >> -TARGET_NLS_DEPENDENCIES += gettext >> +TARGET_NLS_DEPENDENCIES += gettext-gnu > > gettext is a virtual package that depends either on gettext-gnu or > gettext-tiny, and both of them provide a libintl implementation. > > How can this patch be correct? Hi, it is not as I can not reproduce the build error anymore. Sent v2 without this patch, sorry for the noise. Regards, Bernd _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 4/4] package/vdr: enable musl/uclibc build 2021-12-30 20:55 [Buildroot] [PATCH 1/4] package/vdr: bump version to 2.6.0 Bernd Kuhls 2021-12-30 20:55 ` [Buildroot] [PATCH 2/4] package/libexecinfo: new package Bernd Kuhls 2021-12-30 20:55 ` [Buildroot] [PATCH 3/4] package/Makefile.in: fix per-package build with gettext-gnu Bernd Kuhls @ 2021-12-30 20:55 ` Bernd Kuhls 2 siblings, 0 replies; 6+ messages in thread From: Bernd Kuhls @ 2021-12-30 20:55 UTC (permalink / raw) To: buildroot; +Cc: Thomas Petazzoni 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. Optionally select gettext to provide _nl_msg_cat_cntr needed by i18n.c. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- package/vdr/0001-getloadavg.patch | 55 +++++++ package/vdr/0002-musl-compat.patch | 140 ++++++++++++++++++ package/vdr/0003-include-missing-limits.patch | 30 ++++ package/vdr/Config.in | 8 +- package/vdr/vdr.mk | 5 + 5 files changed, 235 insertions(+), 3 deletions(-) create mode 100644 package/vdr/0001-getloadavg.patch create mode 100644 package/vdr/0002-musl-compat.patch create mode 100644 package/vdr/0003-include-missing-limits.patch diff --git a/package/vdr/0001-getloadavg.patch b/package/vdr/0001-getloadavg.patch new file mode 100644 index 0000000000..9e6316e284 --- /dev/null +++ b/package/vdr/0001-getloadavg.patch @@ -0,0 +1,55 @@ +Fix compilation with uClibc + +Ported from +https://github.com/stschake/buildroot-grasshopper/blob/master/package/torsmo/torsmo-0.18-uclibc-getloadavg.patch + +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> + +diff -uwNr vdr-2.3.1.org/skinlcars.c vdr-2.3.1/skinlcars.c +--- vdr-2.3.1.org/skinlcars.c 2015-09-01 12:07:07.000000000 +0200 ++++ vdr-2.3.1/skinlcars.c 2016-07-31 21:00:11.000000000 +0200 +@@ -1100,6 +1100,44 @@ + } + } + ++/* uclibc and dietlibc do not have this junk -ReneR */ ++#if defined (__UCLIBC__) || defined (__dietlibc__) ++static int getloadavg (double loadavg[], int nelem) ++{ ++ int fd; ++ ++ fd = open ("/proc/loadavg", O_RDONLY); ++ if (fd < 0) ++ return -1; ++ else ++ { ++ char buf[65], *p; ++ ssize_t nread; ++ int i; ++ ++ nread = read (fd, buf, sizeof buf - 1); ++ close (fd); ++ if (nread <= 0) ++ return -1; ++ buf[nread - 1] = '\0'; ++ ++ if (nelem > 3) ++ nelem = 3; ++ p = buf; ++ for (i = 0; i < nelem; ++i) ++ { ++ char *endp; ++ loadavg[i] = strtod (p, &endp); ++ if (endp == p) ++ return -1; ++ p = endp; ++ } ++ ++ return i; ++ } ++} ++#endif ++ + void cSkinLCARSDisplayMenu::DrawLoad(void) + { + if (yb04) { diff --git a/package/vdr/0002-musl-compat.patch b/package/vdr/0002-musl-compat.patch new file mode 100644 index 0000000000..b6f8f414a9 --- /dev/null +++ b/package/vdr/0002-musl-compat.patch @@ -0,0 +1,140 @@ +Fix musl build + +Downloaded from +https://git.alpinelinux.org/aports/tree/community/vdr/musl-compat.patch + +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> + +diff --git a/i18n.h b/i18n.h +index f8ad9de..b002bbf 100644 +--- a/i18n.h ++++ b/i18n.h +@@ -46,7 +46,7 @@ const cStringList *I18nLanguages(void); + ///< have an actual locale installed. The rest are just dummy entries + ///< to allow having three letter language codes for other languages + ///< that have no actual locale on this system. +-const char *I18nTranslate(const char *s, const char *Plugin = NULL) __attribute_format_arg__(1); ++const char *I18nTranslate(const char *s, const char *Plugin = NULL) __attribute__((__format_arg__ (1))); + ///< Translates the given string (with optional Plugin context) into + ///< the current language. If no translation is available, the original + ///< string will be returned. +diff --git a/osd.c b/osd.c +index 524700a..ef975f5 100644 +--- a/osd.c ++++ b/osd.c +@@ -12,7 +12,7 @@ + #include <stdlib.h> + #include <sys/ioctl.h> + #include <sys/stat.h> +-#include <sys/unistd.h> ++#include <unistd.h> + #include "device.h" + #include "tools.h" + +diff --git a/thread.c b/thread.c +index 47eb977..58dba43 100644 +--- a/thread.c ++++ b/thread.c +@@ -155,7 +155,9 @@ cRwLock::cRwLock(bool PreferWriter) + writeLockThreadId = 0; + pthread_rwlockattr_t attr; + pthread_rwlockattr_init(&attr); ++#if defined(__GLIBC__) + pthread_rwlockattr_setkind_np(&attr, PreferWriter ? PTHREAD_RWLOCK_PREFER_WRITER_NP : PTHREAD_RWLOCK_PREFER_READER_NP); ++#endif + pthread_rwlock_init(&rwlock, &attr); + } + +@@ -205,7 +207,7 @@ cMutex::cMutex(void) + locked = 0; + pthread_mutexattr_t attr; + pthread_mutexattr_init(&attr); +- pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP); ++ pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK); + pthread_mutex_init(&mutex, &attr); + } + +diff --git a/tools.c b/tools.c +index 754673d..fef9d2d 100644 +--- a/tools.c ++++ b/tools.c +@@ -640,7 +640,7 @@ char *ReadLink(const char *FileName) + { + if (!FileName) + return NULL; +- char *TargetName = canonicalize_file_name(FileName); ++ char *TargetName = realpath(FileName, NULL); + if (!TargetName) { + if (errno == ENOENT) // file doesn't exist + TargetName = strdup(FileName); +@@ -1528,7 +1528,7 @@ + struct dirent *cReadDir::Next(void) + { + if (directory) { +-#if !__GLIBC_PREREQ(2, 24) // readdir_r() is deprecated as of GLIBC 2.24 ++#if __GLIBC__ + while (readdir_r(directory, &u.d, &result) == 0 && result) { + #else + while ((result = readdir(directory)) != NULL) { +diff --git a/tools.h b/tools.h +index 73cca5a..03f5fd1 100644 +--- a/tools.h ++++ b/tools.h +@@ -28,6 +28,16 @@ + #include <sys/types.h> + #include "thread.h" + ++#ifndef ACCESSPERMS ++# define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */ ++#endif ++#ifndef ALLPERMS ++# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */ ++#endif ++#ifndef DEFFILEMODE ++# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*/ ++#endif ++ + typedef unsigned char uchar; + + extern int SysLogLevel; +@@ -400,7 +410,7 @@ + private: + DIR *directory; + struct dirent *result; +-#if !__GLIBC_PREREQ(2, 24) // readdir_r() is deprecated as of GLIBC 2.24 ++#if __GLIBC__ + union { // according to "The GNU C Library Reference Manual" + struct dirent d; + char b[offsetof(struct dirent, d_name) + NAME_MAX + 1]; +@@ -738,7 +748,7 @@ public: + data[i] = T(0); + size = 0; + } +- void Sort(__compar_fn_t Compare) ++ void Sort(int (*Compare)(const void *, const void *)) + { + qsort(data, size, sizeof(T), Compare); + } +diff --git a/vdr.c b/vdr.c +index 8a49471..c2a82aa 100644 +--- a/vdr.c ++++ b/vdr.c +@@ -670,12 +670,18 @@ int main(int argc, char *argv[]) + } + } + else if (Terminal) { ++#ifdef __GLIBC__ + // Claim new controlling terminal + stdin = freopen(Terminal, "r", stdin); + stdout = freopen(Terminal, "w", stdout); + stderr = freopen(Terminal, "w", stderr); + HasStdin = true; + tcgetattr(STDIN_FILENO, &savedTm); ++#else ++ // stdin, stdout, stderr are declared FILE const* by musl C library ++ fprintf(stderr, "Option '-t' is only supported if VDR has been built against glibc.\n"); ++ return 2; ++#endif + } + + isyslog("VDR version %s started", VDRVERSION); diff --git a/package/vdr/0003-include-missing-limits.patch b/package/vdr/0003-include-missing-limits.patch new file mode 100644 index 0000000000..c2efe291e6 --- /dev/null +++ b/package/vdr/0003-include-missing-limits.patch @@ -0,0 +1,30 @@ +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; + diff --git a/package/vdr/Config.in b/package/vdr/Config.in index df602f26d6..1119892d8b 100644 --- a/package/vdr/Config.in +++ b/package/vdr/Config.in @@ -2,15 +2,17 @@ config BR2_PACKAGE_VDR bool "vdr" depends on BR2_INSTALL_LIBSTDCPP depends on !BR2_STATIC_LIBS + depends on BR2_SYSTEM_ENABLE_NLS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 - depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h depends on BR2_USE_MMU # fork() depends on BR2_USE_WCHAR select BR2_PACKAGE_FONTCONFIG select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_GETTEXT if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_JPEG select BR2_PACKAGE_LIBCAP + select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help This project describes how to build your own digital @@ -18,9 +20,9 @@ config BR2_PACKAGE_VDR http://www.tvdr.de -comment "vdr needs a glibc toolchain w/ C++, dynamic library, NPTL, wchar, headers >= 3.9" +comment "vdr needs a toolchain w/ C++, dynamic library, NLS, NPTL, wchar, headers >= 3.9" depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_TOOLCHAIN_USES_GLIBC || !BR2_USE_WCHAR || \ + !BR2_SYSTEM_ENABLE_NLS || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 diff --git a/package/vdr/vdr.mk b/package/vdr/vdr.mk index 51affe5a7b..bb7b1e22c0 100644 --- a/package/vdr/vdr.mk +++ b/package/vdr/vdr.mk @@ -26,6 +26,11 @@ VDR_MAKE_FLAGS = \ VIDEODIR=/var/lib/vdr VDR_LDFLAGS = $(TARGET_NLS_LIBS) +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +VDR_DEPENDENCIES += libexecinfo +VDR_LDFLAGS += -lexecinfo +endif + ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) VDR_DEPENDENCIES += libfribidi VDR_MAKE_FLAGS += BIDI=1 -- 2.30.2 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-12-30 21:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 20:55 [Buildroot] [PATCH 1/4] package/vdr: bump version to 2.6.0 Bernd Kuhls
2021-12-30 20:55 ` [Buildroot] [PATCH 2/4] package/libexecinfo: new package Bernd Kuhls
2021-12-30 20:55 ` [Buildroot] [PATCH 3/4] package/Makefile.in: fix per-package build with gettext-gnu Bernd Kuhls
2021-12-30 21:34 ` Thomas Petazzoni
[not found] ` <20211230223421.059f0917__21186.4138067298$1640900090$gmane$org@windsurf>
2021-12-30 21:53 ` Bernd Kuhls
2021-12-30 20:55 ` [Buildroot] [PATCH 4/4] package/vdr: enable musl/uclibc build Bernd Kuhls
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox