Merge pull request #323540 from fgaz/mindustry-arc-fix

mindustry: fix build with gradle 8.8
This commit is contained in:
Sandro 2024-06-30 20:53:31 +02:00 committed by GitHub
commit 338d49de54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
{ lib, stdenv, fetchurl
, fetchpatch
, makeWrapper
, makeDesktopItem
, copyDesktopItems
@ -82,6 +83,19 @@ let
patches = [
./0001-fix-include-path-for-SDL2-on-linux.patch
# Fix build with gradle 8.8, remove on next Arc release
(fetchpatch {
url = "https://github.com/Anuken/Arc/commit/2a91c51bf45d700091e397fd0b62384763901ae6.patch";
hash = "sha256-sSD78GmF14vBvNe+ajUJ4uIc4p857shTP/UkAK6Pyyg=";
extraPrefix = "Arc/";
stripLen = 1;
})
(fetchpatch {
url = "https://github.com/Anuken/Arc/commit/d7f8ea858c425410dbd43374271a703d4443b432.patch";
hash = "sha256-5LPgBOV0r/dUtpyxitTu3/9tMIqjeIKfGVJi3MEr7fQ=";
extraPrefix = "Arc/";
stripLen = 1;
})
];
unpackPhase = ''