From b1a0a638523421d381ec224fa592847dbee4ae14 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 11 Sep 2024 00:04:13 +0300 Subject: [PATCH] Spacewar: Shim widevine with libcrypto_shim The following change https://github.com/google/boringssl/commit/e202e51cb0912f36dafbd2e67cf04d6ec82f3180 removed symbols that our libs require. Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29 --- extract-files.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index 06bae63..f76e713 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -61,6 +61,10 @@ function blob_fixup() { vendor/lib64/libgf_hal.so) sed -i "s|ro.boot.flash.locked|ro.bootloader.locked|g" "${2}" ;; + vendor/lib64/libwvhidl.so | vendor/lib64/mediadrm/libwvdrmengine.so) + [ "$2" = "" ] && return 0 + grep -q "libcrypto_shim.so" "${2}" || "${PATCHELF}" --add-needed "libcrypto_shim.so" "${2}" + ;; esac }