diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-03-03 07:06:36 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-03 11:08:29 -0800 |
commit | de2140c8931851250a77e5770dfddc24e66f9fa4 (patch) | |
tree | 251ae88ef8d680f7c2f20f2357dcd26ffe9d19f8 /meta-multimedia | |
parent | 78027bf3ad59dfcee64e82d656facba84a6ce5e3 (diff) | |
download | meta-openembedded-de2140c8931851250a77e5770dfddc24e66f9fa4.tar.gz |
srt: Backport fix for missing <limits> header
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jose Quaresma <quaresma.jose@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-support/srt/srt/0001-core-Fix-build-with-GCC-11.-1806.patch | 26 | ||||
-rw-r--r-- | meta-multimedia/recipes-support/srt/srt_1.4.2.bb | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-support/srt/srt/0001-core-Fix-build-with-GCC-11.-1806.patch b/meta-multimedia/recipes-support/srt/srt/0001-core-Fix-build-with-GCC-11.-1806.patch new file mode 100644 index 000000000..0cb6943cc --- /dev/null +++ b/meta-multimedia/recipes-support/srt/srt/0001-core-Fix-build-with-GCC-11.-1806.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From f1b35cbf5b9b42b031e9b119e4c802b5f744468c Mon Sep 17 00:00:00 2001 | ||
2 | From: Christophe Giboudeaux <krop@users.noreply.github.com> | ||
3 | Date: Wed, 10 Feb 2021 12:42:45 +0000 | ||
4 | Subject: [PATCH] [core] Fix build with GCC 11. (#1806) | ||
5 | |||
6 | The 'limits' header must be included explicitly. | ||
7 | --- | ||
8 | Upstream-Status: Backport [https://github.com/haivision/srt/commit/f1b35cbf5b9b42b031e9b119e4c802b5f744468c] | ||
9 | srtcore/sync.h | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/srtcore/sync.h b/srtcore/sync.h | ||
13 | index 59c125a7..9f01ca91 100644 | ||
14 | --- a/srtcore/sync.h | ||
15 | +++ b/srtcore/sync.h | ||
16 | @@ -15,6 +15,7 @@ | ||
17 | //#define ENABLE_CXX17 | ||
18 | |||
19 | #include <cstdlib> | ||
20 | +#include <limits> | ||
21 | #ifdef ENABLE_STDCXX_SYNC | ||
22 | #include <chrono> | ||
23 | #include <thread> | ||
24 | -- | ||
25 | 2.30.1 | ||
26 | |||
diff --git a/meta-multimedia/recipes-support/srt/srt_1.4.2.bb b/meta-multimedia/recipes-support/srt/srt_1.4.2.bb index 567ea68ed..f7dfda28f 100644 --- a/meta-multimedia/recipes-support/srt/srt_1.4.2.bb +++ b/meta-multimedia/recipes-support/srt/srt_1.4.2.bb | |||
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad" | |||
9 | SRCREV = "50b7af06f3a0a456c172b4cb3aceafa8a5cc0036" | 9 | SRCREV = "50b7af06f3a0a456c172b4cb3aceafa8a5cc0036" |
10 | SRC_URI = "git://github.com/Haivision/srt;protocol=https \ | 10 | SRC_URI = "git://github.com/Haivision/srt;protocol=https \ |
11 | file://0001-don-t-install-srt-ffplay.patch \ | 11 | file://0001-don-t-install-srt-ffplay.patch \ |
12 | file://0001-core-Fix-build-with-GCC-11.-1806.patch \ | ||
12 | " | 13 | " |
13 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | 14 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" |
14 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |