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 2 lib, 3 3 stdenv, 4 4 fetchFromGitLab, 5 + fetchpatch, 5 6 meson, 6 7 ninja, 7 8 pkg-config, ··· 27 28 rev = "v${version}"; 28 29 hash = "sha256-YEefuEfJURi5/wswQKskA/J1UGzessQQkBpltJ0Spq8="; 29 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 + ]; 30 39 31 40 nativeBuildInputs = [ 32 41 meson