diff options
author | Tomo <68489118+Tomodachi94@users.noreply.github.com> | 2023-05-19 18:04:42 -0700 |
---|---|---|
committer | Tomo <68489118+Tomodachi94@users.noreply.github.com> | 2023-05-19 20:15:05 -0700 |
commit | 61e66c3fba2b58e3a930c1aab3a5a5e70488c0a8 (patch) | |
tree | 6e421a702fd4bab886b11340dc24a8b510692e70 | |
parent | f730c41470d8fd29a935a07f0a10f58d656a95c1 (diff) |
pothos: patch poco API calls
-rw-r--r-- | pkgs/applications/radio/pothos/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/radio/pothos/default.nix b/pkgs/applications/radio/pothos/default.nix index 1b36b36829a05..6691ffe2dd459 100644 --- a/pkgs/applications/radio/pothos/default.nix +++ b/pkgs/applications/radio/pothos/default.nix @@ -1,6 +1,7 @@ { lib , mkDerivation , fetchFromGitHub +, fetchpatch , cmake , pkg-config , doxygen @@ -33,6 +34,12 @@ mkDerivation rec { patches = [ # spuce's CMakeLists.txt uses QT5_USE_Modules, which does not seem to work on Nix ./spuce.patch + # Poco had some breaking API changes in 1.12 + (fetchpatch { + name = "poco-1.12-compat.patch"; + url = "https://github.com/pothosware/PothosCore/commit/092d1209b0fd0aa8a1733706c994fa95e66fd017.patch"; + hash = "sha256-bZXG8kD4+1LgDV8viZrJ/DMjg8UvW7b5keJQDXurfkA="; + }) ]; nativeBuildInputs = [ cmake pkg-config doxygen wrapQtAppsHook ]; |