mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Buildroot commit2774502344bumped the package from 4.2.2 to 6.2.3. Upstream added the usage of std::scoped_lock in version 6.2.0:a760b3278acausing a build error detected by the Gitlab pipelines for the bootlin-aarch64-glibc-old defconfig: ../src/inc/upnpapi.h:132:22: error: ‘scoped_lock’ is not a member of ‘std’ scoped_lock was introduced in gcc 7.1: https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017 so we raise the minimum required gcc version accordingly. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
19 lines
660 B
Plaintext
19 lines
660 B
Plaintext
config BR2_PACKAGE_LIBNPUPNP
|
|
bool "libnpupnp"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
|
select BR2_PACKAGE_EXPAT
|
|
select BR2_PACKAGE_LIBCURL
|
|
select BR2_PACKAGE_LIBMICROHTTPD
|
|
help
|
|
npupnp (new pupnp or not pupnp ?) is an UPnP library derived
|
|
from the venerable pupnp (https://github.com/pupnp/pupnp),
|
|
based on its 1.6.x branch (around 1.6.25).
|
|
|
|
https://www.lesbonscomptes.com/upmpdcli/libnpupnp.html
|
|
|
|
comment "libnpupnp needs a toolchain w/ C++, threads, gcc >= 7"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
|