Accepting request 785623 from X11:XOrg

- u_buildfix-for-gcc10.patch
  * fixes build against gcc10 (boo#1166609)

OBS-URL: https://build.opensuse.org/request/show/785623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmfx?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2020-03-19 18:46:18 +00:00 committed by Git OBS Bridge
commit 5a26adec69
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 16 12:40:37 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- u_buildfix-for-gcc10.patch
* fixes build against gcc10 (boo#1166609)
-------------------------------------------------------------------
Tue Mar 3 12:30:43 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -26,6 +26,7 @@ Group: Development/Languages/C and C++
URL: https://github.com/Intel-Media-SDK/MediaSDK
Source0: https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-%{version}.tar.gz
Patch0: cmake-sle12.patch
Patch1: u_buildfix-for-gcc10.patch
BuildRequires: cmake
%if 0%{?suse_version} < 1500
BuildRequires: gcc7-c++
@ -68,6 +69,7 @@ the Intel Media SDK.
%if 0%{?suse_version} < 1500
%patch0 -p1
%endif
%patch1 -p1
%build
mkdir -p build

View File

@ -0,0 +1,10 @@
--- MediaSDK-intel-mediasdk-19.4.0/tutorials/common/common_vaapi.cpp.old 2020-03-16 12:19:15.596797932 +0000
+++ MediaSDK-intel-mediasdk-19.4.0/tutorials/common/common_vaapi.cpp 2020-03-16 12:19:43.133334634 +0000
@@ -24,6 +24,7 @@
#include <map>
#include "common_vaapi.h"
+#include <string>
struct sharedResponse {
mfxFrameAllocResponse mfxResponse;