package/dvblast: requires NPTL
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 4 Jul 2016 15:11:16 +0000 (17:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 4 Jul 2016 15:20:06 +0000 (17:20 +0200)
dvblast uconditionally believes that any Linux system will have support
for clock nanosleep().

However, clock_nanosleep() is only availabe with NPTL.

Fixing dvblast is not really complicated, but not trivial either. So we
just make it depend on NPTL.

Fixes:
    http://autobuild.buildroot.org/?reason=dvblast-3.0
    http://autobuild.buildroot.org/results/dbe/dbe91dd6543b4b88fbf1e5b09d4997d2dc730747/
    http://autobuild.buildroot.org/results/32b/32bee5071f46b86de61db7f35a2cd04e270bc73c/
    [and many more...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dvblast/Config.in

index 1ea8f934167884ba6365f25aec21f661ed51b4b7..b9c5c14e4ac5b04d93b34be82f49b72121f6812c 100644 (file)
@@ -4,13 +4,13 @@ config BR2_PACKAGE_DVBLAST
        select BR2_PACKAGE_LIBEV
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        depends on !BR2_bfin  # libev
-       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
        help
          DVBlast is a simple and powerful MPEG-2/TS demux and
          streaming application.
 
          http://www.videolan.org/projects/dvblast.html
 
-comment 'dvblast needs a toolchain w/ threads'
+comment 'dvblast needs a toolchain w/ NPTL'
        depends on !BR2_bfin  # libev
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL