summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-31 21:47:03 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:18 +0200
commit41fed9424e8612a3dd84c5a656681a0d5cf54607 (patch)
tree15a8467ccbcb7c5b12eb6cb088932e9f949867c6
parenteae64392b9322178c4ae263726721e9ab9945195 (diff)
gnu: mediasdk: Update to 23.2.2 and fix build with gcc-14.
* gnu/packages/patches/mediasdk-gcc-14.patch: New file. * gnu/local.mk (dist_patch_DATA): * gnu/packages/video.scm (mediasdk): Update to 23.2.2 and use it. Change-Id: I6a007ac9728d8ed16ddeef425cc544e7f0d861c1
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/patches/mediasdk-gcc-14.patch12
-rw-r--r--gnu/packages/video.scm5
3 files changed, 16 insertions, 2 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 707876b305..880416da1a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1869,6 +1869,7 @@ dist_patch_DATA = \
%D%/packages/patches/lvm2-no-systemd.patch \
%D%/packages/patches/maturin-no-cross-compile.patch \
%D%/packages/patches/mecab-variable-param.patch \
+ %D%/packages/patches/mediasdk-gcc-14.patch \
%D%/packages/patches/memtest86+-build-reproducibly.patch \
%D%/packages/patches/mercurial-hg-extension-path.patch \
%D%/packages/patches/mhash-keygen-test-segfault.patch \
diff --git a/gnu/packages/patches/mediasdk-gcc-14.patch b/gnu/packages/patches/mediasdk-gcc-14.patch
new file mode 100644
index 0000000000..c52908a803
--- /dev/null
+++ b/gnu/packages/patches/mediasdk-gcc-14.patch
@@ -0,0 +1,12 @@
+Upstream status: Not presented upstcream.
+
+--- source/api/mfx_dispatch/linux/mfxparser.cpp.orig 2024-12-31 21:52:28.147107173 +0100
++++ source/api/mfx_dispatch/linux/mfxparser.cpp 2024-12-31 21:52:47.471325750 +0100
+@@ -23,6 +23,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+
++#include <cstdint>
+ #include <list>
+
+ #include "mfxloader.h"
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index a84d8ac94f..bfdf41053c 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -440,7 +440,7 @@ the Core 2 Duo.")
(define-public mediasdk
(package
(name "mediasdk")
- (version "22.4.4")
+ (version "23.2.2")
(source
(origin
(method git-fetch)
@@ -448,9 +448,10 @@ the Core 2 Duo.")
(git-reference
(url "https://github.com/Intel-Media-SDK/MediaSDK")
(commit (string-append "intel-" name "-" version))))
+ (patches (search-patches "mediasdk-gcc-14.patch"))
(file-name (git-file-name name version))
(sha256
- (base32 "18mrqringyv1drswm4m8ppw7sks6x4jzp6s0ag0h9hrpd15kn5rx"))))
+ (base32 "12if7ylhz1r8mpj2q2n7nw8nnsglm90jg8lqpl3zhajjyrmkfyn2"))))
(build-system cmake-build-system)
(arguments
(list