mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
kdePackages.libktorrent: fix build with Qt 6.9
This commit is contained in:
parent
f72f529cbf
commit
a2789da021
1 changed files with 15 additions and 0 deletions
|
@ -5,10 +5,25 @@
|
||||||
boost,
|
boost,
|
||||||
gmp,
|
gmp,
|
||||||
libgcrypt,
|
libgcrypt,
|
||||||
|
fetchpatch,
|
||||||
}:
|
}:
|
||||||
mkKdeDerivation {
|
mkKdeDerivation {
|
||||||
pname = "libktorrent";
|
pname = "libktorrent";
|
||||||
|
|
||||||
|
# Backport patches to fix build with Qt 6.9
|
||||||
|
# FIXME: remove in 25.04
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://invent.kde.org/network/libktorrent/-/commit/4bcf7eb1e0cb781286eae33751acd8e827080ec5.patch";
|
||||||
|
includes = [ "src/utp/connection.cpp" ];
|
||||||
|
hash = "sha256-gj5jLViuzttfzCrx/izmajJiH3vE9TkfsXS+1r/qGNc=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://invent.kde.org/network/libktorrent/-/commit/4f73038c74b5d72b2f7f1377c7bf037f111e965d.patch";
|
||||||
|
hash = "sha256-dQeZLmnagxBOUR2hnxF65jIRSAntTrEggxdUf3NNzDE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
extraNativeBuildInputs = [ doxygen ];
|
extraNativeBuildInputs = [ doxygen ];
|
||||||
extraBuildInputs = [ qt5compat ];
|
extraBuildInputs = [ qt5compat ];
|
||||||
extraPropagatedBuildInputs = [
|
extraPropagatedBuildInputs = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue