From e4c37c5d5dc734fb94149af4a6273f35f818bdca Mon Sep 17 00:00:00 2001 From: yuuko Date: Sun, 24 Nov 2024 00:49:25 -0800 Subject: chore: rework depotdownloader patches for 2.7 --- ...2-ProtoManifest-sort-files-in-constructor.patch | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 srcds-pkgs/depotdownloader-json/0002-ProtoManifest-sort-files-in-constructor.patch (limited to 'srcds-pkgs/depotdownloader-json/0002-ProtoManifest-sort-files-in-constructor.patch') diff --git a/srcds-pkgs/depotdownloader-json/0002-ProtoManifest-sort-files-in-constructor.patch b/srcds-pkgs/depotdownloader-json/0002-ProtoManifest-sort-files-in-constructor.patch deleted file mode 100644 index ac4fe97..0000000 --- a/srcds-pkgs/depotdownloader-json/0002-ProtoManifest-sort-files-in-constructor.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 7c067e609efabd54039905dc35edf91afb6c5dad Mon Sep 17 00:00:00 2001 -From: yuuko -Date: Wed, 1 Nov 2023 06:46:57 -0700 -Subject: [PATCH] ProtoManifest: sort files in constructor - ---- - DepotDownloader/ProtoManifest.cs | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/DepotDownloader/ProtoManifest.cs b/DepotDownloader/ProtoManifest.cs -index c5e12cfc..5f66595c 100644 ---- a/DepotDownloader/ProtoManifest.cs -+++ b/DepotDownloader/ProtoManifest.cs -@@ -21,6 +21,7 @@ namespace DepotDownloader - public ProtoManifest(DepotManifest sourceManifest, ulong id) : this() - { - sourceManifest.Files.ForEach(f => Files.Add(new FileData(f))); -+ Files.Sort((f1,f2) => f1.FileName.CompareTo(f2.FileName)); - ID = id; - CreationTime = sourceManifest.CreationTime; - } --- -2.42.0 - -- cgit v1.2.3