- u_buildfix-for-gcc10.patch
* fixes build against gcc10 (boo#1166609) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libmfx?expand=0&rev=21
This commit is contained in:
parent
6196378a1e
commit
4047caab43
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
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