libplacebo_5: fix build with latest Python

Same change as libplacebo[_7].

K900 2433ed3a a55e447f

+9
+9
pkgs/by-name/li/libplacebo_5/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 meson, 6 ninja, 7 pkg-config, ··· 27 rev = "v${version}"; 28 hash = "sha256-YEefuEfJURi5/wswQKskA/J1UGzessQQkBpltJ0Spq8="; 29 }; 30 31 nativeBuildInputs = [ 32 meson
··· 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 + fetchpatch, 6 meson, 7 ninja, 8 pkg-config, ··· 28 rev = "v${version}"; 29 hash = "sha256-YEefuEfJURi5/wswQKskA/J1UGzessQQkBpltJ0Spq8="; 30 }; 31 + 32 + patches = [ 33 + (fetchpatch { 34 + name = "python-compat.patch"; 35 + url = "https://code.videolan.org/videolan/libplacebo/-/commit/12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch"; 36 + hash = "sha256-RrlFu0xgLB05IVrzL2EViTPuATYXraM1KZMxnZCvgrk="; 37 + }) 38 + ]; 39 40 nativeBuildInputs = [ 41 meson