Unverified Commit f3019a03 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

squishyball: fix build with gcc15 (#513290)

parents 8895afd0 0809ab09
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  autoreconfHook,
  fetchFromGitLab,
  fetchDebianPatch,
  fetchpatch,
  flac,
  libao,
@@ -47,6 +48,22 @@ stdenv.mkDerivation {
      url = "https://gitlab.xiph.org/xiph/squishyball/uploads/5609ceaf85ebb6dc297c0efe61b9a1b7/0001-mincurses.c-use-ncurses-API-to-enter-raw-mode-ncurse.patch";
      sha256 = "06llp7cd77f4vvhz8qdld551dnlpjxf98j7rmp3i1x1kng4f0iy3";
    })

    (fetchDebianPatch {
      pname = "squishyball";
      version = "0.1~svn19085";
      debianRevision = "8";
      patch = "0006-Workaround-opaqueness-of-struct-term.patch";
      hash = "sha256-7zXPsJxIpQI2Ro+GNIZEASxHFrRqSUiXjQl9/KeHSAk=";
    })

    (fetchDebianPatch {
      pname = "squishyball";
      version = "0.1~svn19085";
      debianRevision = "8";
      patch = "0007-ncurses-internals.patch";
      hash = "sha256-GzYV0Oas1Amte0m5XCAUfEMRUTYI3UticCdASCn+s28=";
    })
  ];

  postInstall = ''