From 3ea94e5f64024d10fcb91571ea7dff9127e19e3e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 14 Oct 2020 15:27:30 -0600 Subject: [PATCH] Add missing #includes for gcc-11 --- intel-mediasdk-gcc11.patch | 12 ++++++++++++ intel-mediasdk.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 intel-mediasdk-gcc11.patch diff --git a/intel-mediasdk-gcc11.patch b/intel-mediasdk-gcc11.patch new file mode 100644 index 0000000..a5da319 --- /dev/null +++ b/intel-mediasdk-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp b/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp +index 5774702..ed1c1b7 100644 +--- a/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp ++++ b/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp +@@ -44,6 +44,7 @@ + #include + #include + #include ++#include + #include "cmrt_cross_platform.h" + + using std::min; diff --git a/intel-mediasdk.spec b/intel-mediasdk.spec index bc43ee0..f650c7a 100644 --- a/intel-mediasdk.spec +++ b/intel-mediasdk.spec @@ -5,11 +5,12 @@ Summary: Hardware-accelerated video processing on Intel integrated GPUs library Name: intel-mediasdk Version: 20.3.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://mediasdk.intel.com Source0: https://github.com/Intel-Media-SDK/MediaSDK/archive/%{name}-%{version}.tar.gz # don't require Intel ICD at build time Patch0: %{name}-no-icd.patch +Patch1: %{name}-gcc11.patch License: MIT ExclusiveArch: x86_64 BuildRequires: cmake3 @@ -64,6 +65,7 @@ questions and issues. %prep %setup -q -n MediaSDK-%{name}-%{version} %patch0 -p1 -b .no-icd +%patch1 -p1 -b .gcc11 %build %cmake3 \ @@ -111,6 +113,9 @@ questions and issues. %{_libdir}/libmfx-tracer.so.%{mfx_version} %changelog +* Wed Oct 14 2020 Jeff Law - 20.3.0-2 +- Add missing #includes for gcc-11 + * Fri Oct 02 2020 Dominik Mierzejewski - 20.3.0-1 - update to 20.3.0 (#1884321)