Skip to content

Commit a2789da

Browse files
committed
kdePackages.libktorrent: fix build with Qt 6.9
1 parent f72f529 commit a2789da

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pkgs/kde/gear/libktorrent/default.nix

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,25 @@
55
boost,
66
gmp,
77
libgcrypt,
8+
fetchpatch,
89
}:
910
mkKdeDerivation {
1011
pname = "libktorrent";
1112

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+
];
26+
1227
extraNativeBuildInputs = [ doxygen ];
1328
extraBuildInputs = [ qt5compat ];
1429
extraPropagatedBuildInputs = [

0 commit comments

Comments
 (0)