Commit 404317c2 authored by Robert Scott's avatar Robert Scott
Browse files

sanjuuni: add patch to build with c++17

fixing build with poco 0.13
parent d3112aaa
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, pkg-config
, ffmpeg
, poco
@@ -19,6 +20,14 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-wgtyrik4Z5AXd8MHkiMuxMpGh/xcEtNqivyhvL68aac=";
  };

  patches = [
    (fetchpatch {
      name = "build-with-cxx17.patch";
      url = "https://github.com/MCJack123/sanjuuni/commit/f2164bc18935bcf63ee5b0a82087bc91f7fd258d.patch";
      hash = "sha256-ZmP+AmUV7fcIFqSA6e56Nt6u03leE9PX36g2z0nLswo=";
    })
  ];

  nativeBuildInputs = [
    pkg-config
  ];