[packages/mfx_dispatch] - updated to 1.34 - added arch patch (allow ix86 build without __ILP32__ define, introduced in gcc 1

qboosh qboosh at pld-linux.org
Mon Jan 11 17:23:05 CET 2021


commit 88ae4dbd3e267937adbea54ff65733fdb1904175
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jan 11 17:23:07 2021 +0100

    - updated to 1.34
    - added arch patch (allow ix86 build without __ILP32__ define, introduced in gcc 10+)

 mfx_dispatch-arch.patch | 11 +++++++++++
 mfx_dispatch.spec       |  6 ++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/mfx_dispatch.spec b/mfx_dispatch.spec
index 68bddec..9aed061 100644
--- a/mfx_dispatch.spec
+++ b/mfx_dispatch.spec
@@ -5,13 +5,14 @@
 Summary:	Intel Media SDK dispatcher library
 Summary(pl.UTF-8):	Biblioteka dispatchera z Intel Media SDK
 Name:		mfx_dispatch
-Version:	1.25
+Version:	1.34
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/lu-zero/mfx_dispatch/releases
 Source0:	https://github.com/lu-zero/mfx_dispatch/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	bf743b4b9adbe55bd7154274eddb6af6
+# Source0-md5:	6b2441bf6dd0c8c16af7cf4e8cefe2f4
+Patch0:		%{name}-arch.patch
 URL:		https://github.com/lu-zero/mfx_dispatch
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
@@ -57,6 +58,7 @@ Statyczna biblioteka MFX.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/mfx_dispatch-arch.patch b/mfx_dispatch-arch.patch
new file mode 100644
index 0000000..83904b3
--- /dev/null
+++ b/mfx_dispatch-arch.patch
@@ -0,0 +1,11 @@
+--- mfx_dispatch-1.34/mfx/mfxdefs.h.orig	2020-09-24 12:06:21.000000000 +0200
++++ mfx_dispatch-1.34/mfx/mfxdefs.h	2021-01-11 07:55:07.966131899 +0100
+@@ -83,7 +83,7 @@
+     #define MFX_PACK_BEGIN_STRUCT_W_PTR()    MFX_PACK_BEGIN_X(4)
+     #define MFX_PACK_BEGIN_STRUCT_W_L_TYPE() MFX_PACK_BEGIN_X(8)
+ /* 32-bit ILP32 data model Linux */
+-#elif defined(__ILP32__)
++#elif defined(__ILP32__) || defined(__i386__)
+     #define MFX_PACK_BEGIN_STRUCT_W_PTR()    MFX_PACK_BEGIN_X(4)
+     #define MFX_PACK_BEGIN_STRUCT_W_L_TYPE() MFX_PACK_BEGIN_X(4)
+ #else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mfx_dispatch.git/commitdiff/88ae4dbd3e267937adbea54ff65733fdb1904175



More information about the pld-cvs-commit mailing list