Unverified Commit 210bd4ba authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

libsndfile: fix build with gcc15 (#446755)

parents d3c7e994 5c3433cf
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  autoreconfHook,
  autogen,
  pkg-config,
@@ -35,6 +36,15 @@ stdenv.mkDerivation rec {
    hash = "sha256-MOOX/O0UaoeMaQPW9PvvE0izVp+6IoE5VbtTx0RvMkI=";
  };

  patches = [
    # Fix build with gcc15
    # https://github.com/libsndfile/libsndfile/pull/1055
    (fetchpatch {
      url = "https://github.com/libsndfile/libsndfile/commit/2251737b3b175925684ec0d37029ff4cb521d302.patch";
      hash = "sha256-LaeptEicnjpVBExlK4dNMlN8+AAJhW8dIvemF6S4W2M=";
    })
  ];

  nativeBuildInputs = [
    autoreconfHook
    autogen