From b5461e20c1878a7592ef4112dbe00e1e4dc977ae Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Tue, 4 Jun 2024 03:25:24 +0000 Subject: [PATCH] labplot: patch permissive cast --- pkgs/applications/science/math/labplot/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/science/math/labplot/default.nix b/pkgs/applications/science/math/labplot/default.nix index 8bb667e1a8fa..0aeb232dd031 100644 --- a/pkgs/applications/science/math/labplot/default.nix +++ b/pkgs/applications/science/math/labplot/default.nix @@ -1,5 +1,6 @@ { lib , stdenv +, fetchpatch , fetchurl , cmake , extra-cmake-modules @@ -54,6 +55,14 @@ stdenv.mkDerivation rec { "-DENABLE_VECTOR_BLF=OFF" ]; + patches = [ + (fetchpatch { + name = "matio-fix-compilation-for-latest-version-1.5.27.patch"; + url = "https://github.com/KDE/labplot/commit/d6142308ffa492d9f7cea00fad3b4cd1babfd00c.patch"; + hash = "sha256-qD5jj6GxBKbQezKJb1Z8HnwFO84WJBGQDawS/6o/wHE="; + }) + ]; + nativeBuildInputs = [ cmake extra-cmake-modules