Skip to content

Commit c69da59

Browse files
committed
fix: add patch to include cstdint in mfx_dispatch
1 parent 5eb91ee commit c69da59

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

ffmpeg/cppbuild.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,7 @@ EOF
10111011
LIBS=
10121012
if [[ ! -z $(ldconfig -p | grep libva-drm) ]]; then
10131013
cd ../mfx_dispatch-$MFX_VERSION
1014+
patch -Np1 < ../../../mfx_dispatch.patch
10141015
autoreconf -fiv
10151016
PKG_CONFIG_PATH="../lib/pkgconfig" ./configure --prefix=$INSTALL_PATH --disable-shared --enable-static --enable-fast-install --with-pic --host=x86_64-linux CFLAGS="-m64" CXXFLAGS="-m64"
10161017
make -j $MAKEJ

ffmpeg/mfx_dispatch.patch

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
diff --color -ruN mfx_dispatch-1.35.1/src/mfxloader.h mfx_dispatch-1.35.1-patch/src/mfxloader.h
2+
--- mfx_dispatch-1.35.1/src/mfxloader.h 2021-10-20 17:54:42.000000000 +0200
3+
+++ mfx_dispatch-1.35.1-patch/src/mfxloader.h 2024-07-25 17:02:25.482011419 +0200
4+
@@ -25,6 +25,7 @@
5+
6+
#include <sstream>
7+
#include <string>
8+
+#include <cstdint>
9+
10+
#include "mfx/mfxdefs.h"
11+
#include "mfx/mfxplugin.h"

0 commit comments

Comments
 (0)