From f6a662770309b78adba508d2437fa8e96855a627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= Date: Sun, 24 Jul 2022 16:39:13 +0100 Subject: [PATCH] intel-media-driver: update to 22.4.4. --- .../intel-media-driver/patches/execinfo.patch | 32 +++++++++++++++++++ srcpkgs/intel-media-driver/template | 4 +-- 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/intel-media-driver/patches/execinfo.patch diff --git a/srcpkgs/intel-media-driver/patches/execinfo.patch b/srcpkgs/intel-media-driver/patches/execinfo.patch new file mode 100644 index 00000000000..17987b098d0 --- /dev/null +++ b/srcpkgs/intel-media-driver/patches/execinfo.patch @@ -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 + #include // fork + #include ++#if defined(__GLIBC__) + #include // 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; + } + + diff --git a/srcpkgs/intel-media-driver/template b/srcpkgs/intel-media-driver/template index 06ec7929653..855cfbdc3e0 100644 --- a/srcpkgs/intel-media-driver/template +++ b/srcpkgs/intel-media-driver/template @@ -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 " 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"