package/libupnpp: needs at least gcc 4.6
authorJörg Krause <joerg.krause@embedded.rocks>
Tue, 5 Jan 2016 08:54:32 +0000 (09:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Jan 2016 10:50:16 +0000 (11:50 +0100)
Version 0.13.1 of libupnpp uses range-based for loops. This C++11 feature
requires at least gcc 4.6.

Fixes:
http://autobuild.buildroot.net/results/aa9/aa93ff96305a3b201636bea65f1cfdb6db6d3dfb/
http://autobuild.buildroot.net/results/d8b/d8b96987a5336a64857817ec9831b0fb12867e7c/
http://autobuild.buildroot.net/results/408/40807fe84f67961817b6592a6df243c036cf3b4b/
http://autobuild.buildroot.net/results/408/40807fe84f67961817b6592a6df243c036cf3b4b/
.. and many more

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libupnpp/Config.in

index 1dfd3c7920889b56933b6ba7f9fe59bb7df9f4ca..17a33918ab1bd1848bd2c25aa40c385fdde3459b 100644 (file)
@@ -5,7 +5,7 @@ config BR2_PACKAGE_LIBUPNPP
        select BR2_PACKAGE_LIBUPNP
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS # libupnp
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
        # Triggers the _gp link issue
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
        help
@@ -14,6 +14,6 @@ config BR2_PACKAGE_LIBUPNPP
 
          http://www.lesbonscomptes.com/upmpdcli/
 
-comment "libupnpp needs a toolchain w/ C++, threads, gcc >= 4.5"
+comment "libupnpp needs a toolchain w/ C++, threads, gcc >= 4.6"
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6