Skip to content

Commit

Permalink
intel-media-driver: update to 22.4.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
motorto authored and abenson committed Jul 28, 2022
1 parent 097170f commit f6a6627
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions srcpkgs/intel-media-driver/patches/execinfo.patch
Original file line number Diff line number Diff line change
@@ -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;
}


4 changes: 2 additions & 2 deletions srcpkgs/intel-media-driver/template
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -13,7 +13,7 @@ maintainer="Stefano Ragni <[email protected]>"
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"
Expand Down

0 comments on commit f6a6627

Please sign in to comment.