diff options
author | Robert Scott <code@humanleg.org.uk> | 2024-03-25 22:07:55 +0000 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2024-03-26 22:27:46 +0000 |
commit | 404317c27011331e16f071d1ae62ea662d5b3cf0 (patch) | |
tree | af0479641bc55d62ce4f56b6ca7255c803b5c053 /pkgs/tools/graphics/sanjuuni/default.nix | |
parent | d3112aaaa0b10609f226e4a584fcdb81661a2e84 (diff) |
sanjuuni: add patch to build with c++17
fixing build with poco 0.13
Diffstat (limited to 'pkgs/tools/graphics/sanjuuni/default.nix')
-rw-r--r-- | pkgs/tools/graphics/sanjuuni/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/sanjuuni/default.nix b/pkgs/tools/graphics/sanjuuni/default.nix index 6b96e6ad5a92b..70bc59f3eb400 100644 --- a/pkgs/tools/graphics/sanjuuni/default.nix +++ b/pkgs/tools/graphics/sanjuuni/default.nix @@ -1,6 +1,7 @@ { 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 ]; |