Commit 28923d50 authored by langsjo's avatar langsjo
Browse files

rmg: patch includes that cause errors

parent 0a431925
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  gitUpdater,
  boost,
  cmake,
@@ -39,6 +40,20 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-d2kUUJTZhm5m7MIZ8Ym0wyBvX2+h/FsrRQoyLTi0/N8=";
  };

  # Fixes include errors from including minizip libraries
  patches = [
    (fetchpatch2 {
      name = "0000-fix-minizip-include-archive";
      url = "https://github.com/Rosalie241/RMG/commit/7e4e402f277803d3a998e96ea04064063bd1551a.patch";
      hash = "sha256-uyEYv2r7J2nou9AHkezEX0LS/mOnIa6lbQqhxHY9ibo=";
    })
    (fetchpatch2 {
      name = "0001-fix-minizip-include-mupen64plus-core";
      url = "https://github.com/Rosalie241/RMG/commit/8ee3410680c247dcfee806562073626a0b7bf46b.patch";
      hash = "sha256-29zg90ScPNizWq3BzNuM6yfCwmMXRYFfbjOg3YpCrGI=";
    })
  ];

  nativeBuildInputs = [
    cmake
    nasm