linux: switch to new patching style

This commit is contained in:
Vladislav Yarmak 2019-11-23 11:46:42 +02:00
parent f674380a0b
commit 64ef3f526e

View File

@ -81,7 +81,7 @@ declare -A patch_list=(
["440.26"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g' ["440.26"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.31"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g' ["440.31"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.33.01"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g' ["440.33.01"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.36"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g' ["440.36"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
) )
declare -A object_list=( declare -A object_list=(
@ -121,7 +121,7 @@ declare -A object_list=(
["440.26"]='libnvcuvid.so' ["440.26"]='libnvcuvid.so'
["440.31"]='libnvcuvid.so' ["440.31"]='libnvcuvid.so'
["440.33.01"]='libnvcuvid.so' ["440.33.01"]='libnvcuvid.so'
["440.36"]='libnvcuvid.so' ["440.36"]='libnvidia-encode.so'
) )
check_version_supported () { check_version_supported () {