From d5ef3c3ecbfea9104d6317204c6df9676f4e424a Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 2 Nov 2025 14:37:52 +0100 Subject: [PATCH] package/live555: bump version to 2025.10.13 Added -std=c++20 to enable std::atomic_flag::test which was introduced in gcc 11.1: https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2020 (see P1135R6) For older compilers -DNO_STD_LIB=1 can be used to enable a code path without std::atomic_flag::test, copied from: https://github.com/DragonFlyBSD/DeltaPorts/commit/cfc388e6a6bf011e28f0cbebaeae74d2bb516a02 Signed-off-by: Bernd Kuhls Signed-off-by: Julien Olivain --- package/live555/live555.hash | 6 +++--- package/live555/live555.mk | 9 ++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/live555/live555.hash b/package/live555/live555.hash index d4fa93d029..f0a56bda32 100644 --- a/package/live555/live555.hash +++ b/package/live555/live555.hash @@ -1,5 +1,5 @@ -# From http://www.live555.com/liveMedia/public/live555-latest-md5.txt -md5 3c1992b0e9b871bcad7491a3da541781 live.2021.05.03.tar.gz +# From http://www.live555.com/liveMedia/public/live555-latest-sha1.txt +sha1 483146b15c5fdb973b88fc318f2772f022253563 live.2025.10.13.tar.gz # Locally generated -sha256 ae73241f9cc4ab740d60737c0438d62a7635af3822de5d84acf275793de42029 live.2021.05.03.tar.gz +sha256 44eb6ae4ae02ef68a5028d9fc8b70c45b9ba45c058f846b68bc4d32c74355f49 live.2025.10.13.tar.gz sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING.LESSER diff --git a/package/live555/live555.mk b/package/live555/live555.mk index 1e1531ee53..6d12d1c17c 100644 --- a/package/live555/live555.mk +++ b/package/live555/live555.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIVE555_VERSION = 2021.05.03 +LIVE555_VERSION = 2025.10.13 LIVE555_SOURCE = live.$(LIVE555_VERSION).tar.gz # upstream site removes older versions, use videolan.org instead LIVE555_SITE = https://download.videolan.org/contrib/live555 @@ -29,6 +29,13 @@ LIVE555_LIBRARY_LINK = $(TARGET_CC) -o LIVE555_CFLAGS += -fPIC endif +# "struct std::atomic_flag" has no member named "test" +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_11),y) +LIVE555_CFLAGS += -std=c++20 +else +LIVE555_CFLAGS += -DNO_STD_LIB=1 +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) LIVE555_DEPENDENCIES += host-pkgconf openssl LIVE555_CONSOLE_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs openssl`