From 022799483e592c93c7f58d635bca05e66c8d8277 Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Sun, 31 Oct 2021 12:17:09 +0100 Subject: [PATCH] v4l2rtspserver: patch live555 Signed-off-by: Michel Promonet --- multimedia/v4l2rtspserver/Makefile | 7 +++---- .../v4l2rtspserver/patches/001_live555_sprintf_format | 11 +++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 multimedia/v4l2rtspserver/patches/001_live555_sprintf_format diff --git a/multimedia/v4l2rtspserver/Makefile b/multimedia/v4l2rtspserver/Makefile index 74f4cb42dc..b11ec830f8 100644 --- a/multimedia/v4l2rtspserver/Makefile +++ b/multimedia/v4l2rtspserver/Makefile @@ -16,8 +16,8 @@ PKG_SOURCE_URL:=https://github.com/mpromonet/v4l2rtspserver PKG_SOURCE_VERSION:=v$(PKG_VERSION) PKG_MIRROR_HASH:=f047fd24441a070b123252bf82c7d7e42bb0c3280b78ad2ddb01cf200acc3a32 -LIVE555_VERSION:=2021.02.11 -LIVE555_HASH:=834ad3fc199f1a6b0c09646976deb71a3a7803dc7b498ce92e920f6cb7b717ba +LIVE555_VERSION:=2021.10.28 +LIVE555_HASH:=84dd36267940dcea848f54dc1f6d73171a949dee907750fac3a5a0b39e94dbd9 LIVE555_FILE:=live.$(LIVE555_VERSION).tar.gz PKG_MAINTAINER:=Roger Dammit @@ -57,12 +57,11 @@ CMAKE_OPTIONS += \ -DLIVE555CFLAGS=" -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLOCALE_NOT_USED -DNO_SSTREAM=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -DNO_OPENSSL" define Build/Prepare - $(Build/Prepare/Default) - # download live555 $(eval $(call Download,live555)) mkdir -p $(PKG_BUILD_DIR)/live $(TAR) -xf $(DL_DIR)/$(LIVE555_FILE) --strip=1 -C $(PKG_BUILD_DIR)/live + $(Build/Prepare/Default) endef define Package/v4l2rtspserver/install diff --git a/multimedia/v4l2rtspserver/patches/001_live555_sprintf_format b/multimedia/v4l2rtspserver/patches/001_live555_sprintf_format new file mode 100644 index 0000000000..7d39c86483 --- /dev/null +++ b/multimedia/v4l2rtspserver/patches/001_live555_sprintf_format @@ -0,0 +1,11 @@ +--- a/live/liveMedia/ServerMediaSession.cpp ++++ b/live/liveMedia/ServerMediaSession.cpp +@@ -271,7 +271,7 @@ char* ServerMediaSession::generateSDPDes + + char const* const sdpPrefixFmt = + "v=0\r\n" +- "o=- %ld%06ld %d IN %s %s\r\n" ++ "o=- %lld%06lld %d IN %s %s\r\n" + "s=%s\r\n" + "i=%s\r\n" + "t=0 0\r\n" -- 2.30.2