Patchwork libdvdnav: requires thread support in toolchain

login
register
mail settings
Submitter Thomas Petazzoni
Date Dec. 19, 2012, 10:34 p.m.
Message ID <1355956450-7421-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/207533/
State Accepted
Commit c199fb727e838bab2a8ab359ce3432776ef51db9
Headers show

Comments

Thomas Petazzoni - Dec. 19, 2012, 10:34 p.m.
libdvdnav requires thread support. The only package that depends on
libdvdnav is mplayer, and it is an optional dependency, only activated
when libdvdnav is enabled. So we don't have to push this thread
support dependency to any other package.

Fixes:

  http://autobuild.buildroot.org/results/54d6a737ae805ef1dbf77e5d11b4dd5366873ec0/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libdvdnav/Config.in |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Peter Korsgaard - Jan. 6, 2013, 9:07 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> libdvdnav requires thread support. The only package that depends on
 Thomas> libdvdnav is mplayer, and it is an optional dependency, only activated
 Thomas> when libdvdnav is enabled. So we don't have to push this thread
 Thomas> support dependency to any other package.

Committed, thanks.

Patch

diff --git a/package/libdvdnav/Config.in b/package/libdvdnav/Config.in
index 5ba31e8..4585be9 100644
--- a/package/libdvdnav/Config.in
+++ b/package/libdvdnav/Config.in
@@ -1,6 +1,7 @@ 
 config BR2_PACKAGE_LIBDVDNAV
 	bool "libdvdnav"
 	depends on BR2_LARGEFILE # libdvdread
+	depends on BR2_TOOLCHAIN_HAS_THREADS
         select BR2_PACKAGE_LIBDVDREAD
 	help
 	  libdvdnav is a library that allows easy use of sophisticated
@@ -9,5 +10,5 @@  config BR2_PACKAGE_LIBDVDNAV
 
 	  http://www.mplayerhq.hu
 
-comment "libdvdnav requires a toolchain with LARGEFILE support"
-	depends on !BR2_LARGEFILE
+comment "libdvdnav requires a toolchain with LARGEFILE and thread support"
+	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS