Accepting request 920861 from X11:XOrg

- Update to 21.3.3
  * latest version 
- refreshed cmake-sle12.patch
- supersedes u_gcc11.patch

OBS-URL: https://build.opensuse.org/request/show/920861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmfx?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2021-09-26 19:48:18 +00:00 committed by Git OBS Bridge
commit 3764bd81f8
6 changed files with 16 additions and 20 deletions

View File

@ -1,7 +1,7 @@
Index: MediaSDK-intel-mediasdk-20.2.0/api/mfx_dispatch/linux/CMakeLists.txt
Index: MediaSDK-intel-mediasdk-21.3.3/api/mfx_dispatch/linux/CMakeLists.txt
===================================================================
--- MediaSDK-intel-mediasdk-20.2.0.orig/api/mfx_dispatch/linux/CMakeLists.txt
+++ MediaSDK-intel-mediasdk-20.2.0/api/mfx_dispatch/linux/CMakeLists.txt
--- MediaSDK-intel-mediasdk-21.3.3.orig/api/mfx_dispatch/linux/CMakeLists.txt
+++ MediaSDK-intel-mediasdk-21.3.3/api/mfx_dispatch/linux/CMakeLists.txt
@@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de68785034c16484d4cf41e1c75b6e4b24e0234337e78a8a07726d848b501283
size 10810941

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:593ec057ba619e55af8c0b1fcd265a567f2846748ad6aedcc0838425c0339163
size 11649877

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Sep 22 10:42:59 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- Update to 21.3.3
* latest version
- refreshed cmake-sle12.patch
- supersedes u_gcc11.patch
-------------------------------------------------------------------
Wed Feb 10 13:16:39 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -19,7 +19,7 @@
%global sover 1
Name: libmfx
%define lname libmfx%{sover}
Version: 20.3.0
Version: 21.3.3
Release: 0
Summary: The Intel Media SDK
License: MIT
@ -27,7 +27,6 @@ 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_gcc11.patch
BuildRequires: cmake
%if 0%{?suse_version} < 1500
BuildRequires: gcc7-c++
@ -109,7 +108,7 @@ rmdir %{buildroot}/%{_datadir}/mfx/samples
%postun -n %lname -p /sbin/ldconfig
%files
%doc CHANGELOG.md CODEOWNERS README.md
%doc CHANGELOG.md CODEOWNERS README.rst
%{_bindir}/asg-hevc
%{_bindir}/hevc_fei_extractor
%{_bindir}/mfx-tracer-config

View File

@ -1,11 +0,0 @@
--- MediaSDK-intel-mediasdk-20.3.0/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp.orig 2021-02-10 14:12:52.933078000 +0100
+++ MediaSDK-intel-mediasdk-20.3.0/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp 2021-02-10 14:14:46.421417000 +0100
@@ -45,6 +45,8 @@
#include <climits>
#include <cmath>
#include "cmrt_cross_platform.h"
+// needed for GCC11 (boo#1181871)
+#include <limits>
using std::min;
using std::max;