kdePackages.libktorrent: fix build with Qt 6.9

K900 a2789da0 f72f529c

+15
+15
pkgs/kde/gear/libktorrent/default.nix
··· 5 5 boost, 6 6 gmp, 7 7 libgcrypt, 8 + fetchpatch, 8 9 }: 9 10 mkKdeDerivation { 10 11 pname = "libktorrent"; 12 + 13 + # Backport patches to fix build with Qt 6.9 14 + # FIXME: remove in 25.04 15 + patches = [ 16 + (fetchpatch { 17 + url = "https://invent.kde.org/network/libktorrent/-/commit/4bcf7eb1e0cb781286eae33751acd8e827080ec5.patch"; 18 + includes = [ "src/utp/connection.cpp" ]; 19 + hash = "sha256-gj5jLViuzttfzCrx/izmajJiH3vE9TkfsXS+1r/qGNc="; 20 + }) 21 + (fetchpatch { 22 + url = "https://invent.kde.org/network/libktorrent/-/commit/4f73038c74b5d72b2f7f1377c7bf037f111e965d.patch"; 23 + hash = "sha256-dQeZLmnagxBOUR2hnxF65jIRSAntTrEggxdUf3NNzDE="; 24 + }) 25 + ]; 11 26 12 27 extraNativeBuildInputs = [ doxygen ]; 13 28 extraBuildInputs = [ qt5compat ];