tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kdePackages.libktorrent: fix build with Qt 6.9
K900
10 months ago
a2789da0
f72f529c
+15
1 changed file
expand all
collapse all
unified
split
pkgs
kde
gear
libktorrent
default.nix
+15
pkgs/kde/gear/libktorrent/default.nix
···
5
boost,
6
gmp,
7
libgcrypt,
0
8
}:
9
mkKdeDerivation {
10
pname = "libktorrent";
0
0
0
0
0
0
0
0
0
0
0
0
0
0
11
12
extraNativeBuildInputs = [ doxygen ];
13
extraBuildInputs = [ qt5compat ];
···
5
boost,
6
gmp,
7
libgcrypt,
8
+
fetchpatch,
9
}:
10
mkKdeDerivation {
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
+
];
26
27
extraNativeBuildInputs = [ doxygen ];
28
extraBuildInputs = [ qt5compat ];