git: 8827f21c6c8f - main - multimedia/libva-intel-media-driver: update to 22.4.1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 08 May 2022 00:49:23 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8827f21c6c8f447e2729c965b6355b078017a124

commit 8827f21c6c8f447e2729c965b6355b078017a124
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-04-22 04:04:55 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-05-08 00:48:40 +0000

    multimedia/libva-intel-media-driver: update to 22.4.1
    
    Changes:        https://github.com/intel/media-driver/compare/intel-media-22.4.0...intel-media-22.4.1
    Reported by:    Repology
---
 multimedia/libva-intel-media-driver/Makefile       | 22 +++++------
 multimedia/libva-intel-media-driver/distinfo       | 46 +++++++++++-----------
 .../libva-intel-media-driver/files/patch-revert    | 15 +++----
 3 files changed, 42 insertions(+), 41 deletions(-)

diff --git a/multimedia/libva-intel-media-driver/Makefile b/multimedia/libva-intel-media-driver/Makefile
index 6462e47a0e88..4e63ea8adf78 100644
--- a/multimedia/libva-intel-media-driver/Makefile
+++ b/multimedia/libva-intel-media-driver/Makefile
@@ -1,20 +1,20 @@
 PORTNAME=	media-driver
 DISTVERSIONPREFIX=	intel-media-
-DISTVERSION=	22.4.0
+DISTVERSION=	22.4.1
 CATEGORIES=	multimedia
 PKGNAMEPREFIX=	libva-intel-
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	4a6e36a98c0b.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	533e7ae79ff7.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	c0ecf4c2c725.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	005cbf7b180d.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	428eab9583eb.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	615ae63a9ca6.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	774ab04fbce1.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	762a39a7da08.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	e1d499bc31b5.patch:-p1 # https://github.com/intel/media-driver/pull/819
-PATCHFILES+=	721cc37f1b56.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	dc74b5f2fe82.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	921023462274.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	6de6d1940e88.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	8f3fa352bd79.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	2c68fd4a62fb.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	e850bcb7b6e1.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	22d91bd65702.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	d7f88bd305f8.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	d7280f526022.patch:-p1 # https://github.com/intel/media-driver/pull/819
+PATCHFILES+=	231c06faa4c4.patch:-p1 # https://github.com/intel/media-driver/pull/819
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	VAAPI driver for Intel HD 5000 (Gen8) or newer
diff --git a/multimedia/libva-intel-media-driver/distinfo b/multimedia/libva-intel-media-driver/distinfo
index aeb3de266af7..32d3b8660388 100644
--- a/multimedia/libva-intel-media-driver/distinfo
+++ b/multimedia/libva-intel-media-driver/distinfo
@@ -1,23 +1,23 @@
-TIMESTAMP = 1649696783
-SHA256 (intel-media-driver-intel-media-22.4.0_GH0.tar.gz) = f070527b141174970a17195d0225ed43693c39fec83cd5e6d0effaa88e2a5553
-SIZE (intel-media-driver-intel-media-22.4.0_GH0.tar.gz) = 27377195
-SHA256 (4a6e36a98c0b.patch) = 7d09fc3ba601a782b60638f6c2bda7195dd76cf18ed5570c7ff24778b4884391
-SIZE (4a6e36a98c0b.patch) = 1239
-SHA256 (533e7ae79ff7.patch) = 4bd5633c8b5b3641c68b15dda2eea8cd60a999908cb08cf122cb87c62ca95955
-SIZE (533e7ae79ff7.patch) = 1215
-SHA256 (c0ecf4c2c725.patch) = b55fad608637401d970732aaac920921336ab7e2b987ee3bfb696c5065d46f0f
-SIZE (c0ecf4c2c725.patch) = 2186
-SHA256 (005cbf7b180d.patch) = fd04a999924cb01f7ff19ec3cdad1dc47b402ae5bd8689592e68c2608266437a
-SIZE (005cbf7b180d.patch) = 2193
-SHA256 (428eab9583eb.patch) = c1b72e93494f6c436465f8338dcea2cc290be6a0df36d130ae3eff62e8d95d34
-SIZE (428eab9583eb.patch) = 1138
-SHA256 (615ae63a9ca6.patch) = eebc182e1bb3b38a27c8a416cf964c963a84a56b21a980b4c9a32fc2ddfb6e02
-SIZE (615ae63a9ca6.patch) = 3417
-SHA256 (774ab04fbce1.patch) = 39bfbf9989fecaad834cf725ceb0f85bd93a409419e6d27235ba1ff50bf1faf8
-SIZE (774ab04fbce1.patch) = 6392
-SHA256 (762a39a7da08.patch) = 96e2ac717cf3ffebecb8cefe37de44ccb95091a9d87a75dd03a38bf9ff0dc686
-SIZE (762a39a7da08.patch) = 2404
-SHA256 (e1d499bc31b5.patch) = a7e74670f88de5f8b83a2fe1872ea15f24f5d823ddf4b5c3e7b2a0e090d610a0
-SIZE (e1d499bc31b5.patch) = 3335
-SHA256 (721cc37f1b56.patch) = 0a01b30453907dfe59f52f0e581a63cb5de9310f21560c610cb5be83d5f6185e
-SIZE (721cc37f1b56.patch) = 802
+TIMESTAMP = 1650600295
+SHA256 (intel-media-driver-intel-media-22.4.1_GH0.tar.gz) = 5589d4e0142ae957d58798e3fba08d9e5e096e92eed422d40a82d45a14e6042f
+SIZE (intel-media-driver-intel-media-22.4.1_GH0.tar.gz) = 27407593
+SHA256 (dc74b5f2fe82.patch) = d844140b4243b3d30ce452296b4a44add79f41da745fc0cfb5cc6b47ec6a15a3
+SIZE (dc74b5f2fe82.patch) = 1239
+SHA256 (921023462274.patch) = e7ecc71c27f68b8668c8742f123e4aa4da367ab7b94dcb011ee6333c784a0bfd
+SIZE (921023462274.patch) = 1265
+SHA256 (6de6d1940e88.patch) = 8f02743cbcf2b254ff46b0fadd99904ea3baf1701c6512f2b9f07d19d26edb1f
+SIZE (6de6d1940e88.patch) = 2186
+SHA256 (8f3fa352bd79.patch) = 5fddcb5a21e5deacdcc2c12d2404c18e41515fa3b08724303d9b19a44f1e1a85
+SIZE (8f3fa352bd79.patch) = 2192
+SHA256 (2c68fd4a62fb.patch) = 5d880f5140a444368d15c3314a87fc7d34f6e8ffb840f460298932ee71fd8546
+SIZE (2c68fd4a62fb.patch) = 1180
+SHA256 (e850bcb7b6e1.patch) = eaec515e29b441c335f2514745b3ef9f4f198b3c1f522f334da3153023a06941
+SIZE (e850bcb7b6e1.patch) = 3417
+SHA256 (22d91bd65702.patch) = 25797e672d83cc0e175e3012b8e7b42dab9737ce6ba206df720b5ceacebffebc
+SIZE (22d91bd65702.patch) = 6453
+SHA256 (d7f88bd305f8.patch) = 4cf2f0363fd67216a56de808809f7357a644736a0620a3b564f0355bf2c831a0
+SIZE (d7f88bd305f8.patch) = 2404
+SHA256 (d7280f526022.patch) = eb085bb3ff3f02c0ea1fc7f5e543953aba3c11361d02810d318df8fc6ca347b3
+SIZE (d7280f526022.patch) = 3276
+SHA256 (231c06faa4c4.patch) = 2dd7e208a6914c640402ac2f912ddb03fb565020cd389a630692ad0d988cc3b0
+SIZE (231c06faa4c4.patch) = 802
diff --git a/multimedia/libva-intel-media-driver/files/patch-revert b/multimedia/libva-intel-media-driver/files/patch-revert
index ded901d4dff5..ff6d3c1ca303 100644
--- a/multimedia/libva-intel-media-driver/files/patch-revert
+++ b/multimedia/libva-intel-media-driver/files/patch-revert
@@ -6,7 +6,7 @@ cmrtlib/linux/hardware/drm_device.h:268:19: error: use of undeclared identifier
     return maj == DRM_MAJOR;
                   ^
 
---- cmrtlib/linux/hardware/drm_device.h.orig	2022-01-12 07:51:21 UTC
+--- cmrtlib/linux/hardware/drm_device.h.orig	2022-05-08 00:14:20 UTC
 +++ cmrtlib/linux/hardware/drm_device.h
 @@ -53,7 +53,6 @@
  #endif
@@ -162,7 +162,7 @@ cmrtlib/linux/hardware/drm_device.h:268:19: error: use of undeclared identifier
  
  static int32_t GetRendererFileDescriptor(char * drm_node)
  {
---- media_driver/linux/common/os/i915/include/xf86drm.h.orig	2022-01-12 07:51:21 UTC
+--- media_driver/linux/common/os/i915/include/xf86drm.h.orig	2022-04-22 04:04:55 UTC
 +++ media_driver/linux/common/os/i915/include/xf86drm.h
 @@ -713,6 +713,39 @@ extern char *drmGetRenderDeviceNameFromFd(int fd);
  
@@ -204,19 +204,20 @@ cmrtlib/linux/hardware/drm_device.h:268:19: error: use of undeclared identifier
  #if defined(__cplusplus)
  }
  #endif
---- media_driver/linux/common/os/media_srcs.cmake.orig	2022-01-12 07:51:21 UTC
+--- media_driver/linux/common/os/media_srcs.cmake.orig	2022-04-22 04:04:55 UTC
 +++ media_driver/linux/common/os/media_srcs.cmake
-@@ -24,9 +24,6 @@ if(ENABLE_PRODUCTION_KMD)
+@@ -27,10 +27,6 @@ endif()
      media_include_subdirectory(i915_production)
  endif()
  
 -# This is to include drm_device.h in cmrtlib, no cpp file needed.
 -include_directories(${BS_DIR_MEDIA}/cmrtlib/linux/hardware)
+-
 -
  set(TMP_SOURCES_
      ${CMAKE_CURRENT_LIST_DIR}/hwinfo_linux.c
      ${CMAKE_CURRENT_LIST_DIR}/mos_context_specific.cpp
---- media_driver/linux/common/os/mos_interface.cpp.orig	2022-01-12 07:51:21 UTC
+--- media_driver/linux/common/os/mos_interface.cpp.orig	2022-04-22 04:04:55 UTC
 +++ media_driver/linux/common/os/mos_interface.cpp
 @@ -34,7 +34,6 @@
  #include "mos_os_virtualengine_scalability_specific_next.h"
@@ -226,9 +227,9 @@ cmrtlib/linux/hardware/drm_device.h:268:19: error: use of undeclared identifier
  
  #if (_DEBUG || _RELEASE_INTERNAL)
  #include <stdlib.h>   //for simulate random OS API failure
---- media_driver/media_top_cmake.cmake.orig	2022-01-12 07:51:21 UTC
+--- media_driver/media_top_cmake.cmake.orig	2022-05-08 00:14:20 UTC
 +++ media_driver/media_top_cmake.cmake
-@@ -145,7 +145,7 @@ if (NOT DEFINED INCLUDED_LIBS OR "${INCLUDED_LIBS}" ST
+@@ -198,7 +198,7 @@ if (NOT DEFINED INCLUDED_LIBS OR "${INCLUDED_LIBS}" ST
      endif()
  
      target_compile_options( ${LIB_NAME} PUBLIC ${LIBGMM_CFLAGS_OTHER})