aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch24
-rw-r--r--srcds-pkgs/depotdownloader-json/default.nix2
2 files changed, 26 insertions, 0 deletions
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 <yuuko@partyvan.io>
+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";
})