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:
commit
5a26adec69
@ -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>
|
Tue Mar 3 12:30:43 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Group: Development/Languages/C and C++
|
|||||||
URL: https://github.com/Intel-Media-SDK/MediaSDK
|
URL: https://github.com/Intel-Media-SDK/MediaSDK
|
||||||
Source0: https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-%{version}.tar.gz
|
Source0: https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-%{version}.tar.gz
|
||||||
Patch0: cmake-sle12.patch
|
Patch0: cmake-sle12.patch
|
||||||
|
Patch1: u_buildfix-for-gcc10.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
%if 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
BuildRequires: gcc7-c++
|
BuildRequires: gcc7-c++
|
||||||
@ -68,6 +69,7 @@ the Intel Media SDK.
|
|||||||
%if 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
10
u_buildfix-for-gcc10.patch
Normal file
10
u_buildfix-for-gcc10.patch
Normal 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;
|
Loading…
Reference in New Issue
Block a user