intel-media-driver: update to 22.4.4.

This commit is contained in:
André Cerqueira 2022-07-24 16:39:13 +01:00 committed by Andrew Benson
parent 097170fe78
commit f6a6627703
2 changed files with 34 additions and 2 deletions

View File

@ -0,0 +1,32 @@
Fix builds on musl
--- a/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp
+++ b/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp
@@ -51,7 +51,9 @@
#include <signal.h>
#include <unistd.h> // fork
#include <algorithm>
+#if defined(__GLIBC__)
#include <execinfo.h> // backtrace
+#endif
const char *MosUtilitiesSpecificNext::m_szUserFeatureFile = USER_FEATURE_FILE;
MOS_PUF_KEYLIST MosUtilitiesSpecificNext::m_ufKeyList = nullptr;
@@ -2489,6 +2491,7 @@
MOS_FreeMemory(pTraceBuf);
}
}
+#if defined(__GLIBC__)
if (m_mosTraceFilter & (1ULL << TR_KEY_CALL_STACK))
{
// reserve space for header and stack size field.
@@ -2508,6 +2511,7 @@
size_t ret = write(MosUtilitiesSpecificNext::m_mosTraceFd, traceBuf, nLen);
}
}
+#endif
}
return;
}

View File

@ -1,6 +1,6 @@
# Template file for 'intel-media-driver'
pkgname=intel-media-driver
version=22.3.1
version=22.4.4
revision=1
archs="x86_64*"
wrksrc=media-driver-intel-media-${version}
@ -13,7 +13,7 @@ maintainer="Stefano Ragni <st3r4g@protonmail.com>"
license="MIT, BSD-3-Clause"
homepage="https://github.com/intel/media-driver"
distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz"
checksum=0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8
checksum=19c3ef965ca155913719d138e297963b759f9b9d34d4ea85414d1c7b9d204253
build_options="nonfree"
desc_option_nonfree="Enable nonfree kernels"