Skip to content
Snippets Groups Projects
Commit a448c959 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf Committed by Hugo Beauzée-Luyssen
Browse files

Contribs: update SRT to 1.4.4


(cherry picked from commit 9a289291)

Signed-off-by: default avatarSteve Lhomme <robux4@ycbcr.xyz>
parent fe971a8f
No related branches found
No related tags found
No related merge requests found
4c978e3898737e566f47222a0095df1b49591d79927850cc94c838b7eaccf401faf1c5d038fa45b6fd30c85f980e7c212a79c07ed6f9008430e8a5a594a31ffe srt-1.4.2.tar.gz
0d51e0ef73f4aa7eb284288cdbbd75b1c161969c2c2fed3a6d4e13a931341ca41dfcf2d6c1b9728f72b43454a9fde3764da67a27af9f0c99a6818682e4f4d4ba srt-1.4.4.tar.gz
From f1b35cbf5b9b42b031e9b119e4c802b5f744468c Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <krop@users.noreply.github.com>
Date: Wed, 10 Feb 2021 12:42:45 +0000
Subject: [PATCH] [core] Fix build with GCC 11. (#1806)
The 'limits' header must be included explicitly.
---
srtcore/sync.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/srtcore/sync.h b/srtcore/sync.h
index 59c125a75..9f01ca91e 100644
--- a/srtcore/sync.h
+++ b/srtcore/sync.h
@@ -15,6 +15,7 @@
//#define ENABLE_CXX17
#include <cstdlib>
+#include <limits>
#ifdef ENABLE_STDCXX_SYNC
#include <chrono>
#include <thread>
# srt
SRT_VERSION := 1.4.2
SRT_VERSION := 1.4.4
SRT_URL := $(GITHUB)/Haivision/srt/archive/v$(SRT_VERSION).tar.gz
ifdef BUILD_NETWORK
......@@ -24,7 +24,6 @@ $(TARBALLS)/srt-$(SRT_VERSION).tar.gz:
srt: srt-$(SRT_VERSION).tar.gz .sum-srt
$(UNPACK)
$(APPLY) $(SRC)/srt/0001-core-ifdef-MSG_TRUNC-nixes-fix.patch
$(APPLY) $(SRC)/srt/fix-gcc11-build.patch
$(call pkg_static,"scripts/srt.pc.in")
mv srt-$(SRT_VERSION) $@ && touch $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment