From d1fd47eaa587c21661041aa5f8593f89371bdd0a Mon Sep 17 00:00:00 2001 From: yuuko Date: Sun, 24 Nov 2024 01:01:16 -0800 Subject: depotdownloader-json: make dotnet shut up --- .../0003-thats-just-like-your-opinion-man.patch | 24 ++++++++++++++++++++++ srcds-pkgs/depotdownloader-json/default.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch (limited to 'srcds-pkgs') diff --git a/srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch b/srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch new file mode 100644 index 0000000..120deaf --- /dev/null +++ b/srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch @@ -0,0 +1,24 @@ +From 32a548b19507c611ddec868f8665544a829a85b2 Mon Sep 17 00:00:00 2001 +From: yuuko +Date: Sun, 24 Nov 2024 00:59:09 -0800 +Subject: [PATCH] thats just like your opinion man + +--- + DepotDownloader/ProtoManifest.cs | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/DepotDownloader/ProtoManifest.cs b/DepotDownloader/ProtoManifest.cs +index ffb0420..6dc394a 100644 +--- a/DepotDownloader/ProtoManifest.cs ++++ b/DepotDownloader/ProtoManifest.cs +@@ -25,6 +25,7 @@ namespace DepotDownloader + public ProtoManifest(DepotManifest sourceManifest, ulong id) : this() + { + sourceManifest.Files.ForEach(f => Files.Add(new FileData(f))); ++ #pragma warning disable IDE0055 + Files.Sort((f1,f2) => f1.FileName.CompareTo(f2.FileName)); + ID = id; + CreationTime = sourceManifest.CreationTime; +-- +2.47.0 + diff --git a/srcds-pkgs/depotdownloader-json/default.nix b/srcds-pkgs/depotdownloader-json/default.nix index 7ff0270..0f6f4c4 100644 --- a/srcds-pkgs/depotdownloader-json/default.nix +++ b/srcds-pkgs/depotdownloader-json/default.nix @@ -12,6 +12,8 @@ depotdownloader.overrideAttrs({ patches ? [], version, ... }: { [ ./2_7/0001-ProtoManifest-sort-files-in-constructor.patch ./2_7/0002-emit-json-in-.DepotDownload.patch + # formatting very the epic + ./2_7/0003-thats-just-like-your-opinion-man.patch ] else builtins.abort "version of DepotDownloader not covered by patches"; }) -- cgit v1.2.3