Commit 51b85066 authored by Xiangyan Sun's avatar Xiangyan Sun
Browse files

nfft: fix build with gcc15

parent ac3bc672
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  automake,
  cunit,
  fetchFromGitHub,
  fetchpatch,
  fftw,
  lib,
  libtool,
@@ -22,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-HR8ME9PVC+RAv1GIgV2vK6eLU8Wk28+rSzbutThBv3w=";
  };

  patches = [
    (fetchpatch {
      name = "fix-gcc15.patch";
      url = "https://github.com/NFFT/nfft/commit/b06d01be964be7490aed797468f9722e2de1dbfa.patch";
      hash = "sha256-Ynhsyzf8ECVw4eBq50okd0oikiIfOCqFRHivuceg0KU=";
    })
  ];

  nativeBuildInputs = [
    autoconf
    automake