Commit 2134ce40 authored by Xiangyan Sun's avatar Xiangyan Sun
Browse files

numdiff: fix build with gcc15

parent ac3bc672
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchurl,
  fetchDebianPatch,
  libintl,
}:

@@ -14,6 +15,16 @@ stdenv.mkDerivation (finalAttrs: {
    sha256 = "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47";
  };

  patches = [
    (fetchDebianPatch {
      pname = "numdiff";
      version = "5.9.0";
      debianRevision = "2";
      patch = "0005-gcc-15.patch";
      hash = "sha256-+8pNiEfGuh/03LRCY6kuoIcPZ4fQOhNrD93ZW/mXxJw=";
    })
  ];

  buildInputs = [ libintl ];

  meta = {