Commit c02203ca authored by K900's avatar K900
Browse files

libresprite: fix after GCC 13

parent b06ff4bf
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch

, cmake
, pkg-config
@@ -38,6 +39,15 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-d8GmVHYomDb74iSeEhJEVTHvbiVXggXg7xSqIKCUSzY=";
  };

  # Backport GCC 13 build fix
  # FIXME: remove in next release
  patches = [
    (fetchpatch {
      url = "https://github.com/LibreSprite/LibreSprite/commit/6ffe8472194bf5d0a73b4b2cd7f6804d3c80aa0c.patch";
      hash = "sha256-5chXt0H+koofIspYsCJ7/eUxMGcCBVXJcXe3U/7F9Vc=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config