From 2858b4c757d4cf183a349f9116f8989b02b08efe Mon Sep 17 00:00:00 2001 From: NimBold Date: Sun, 6 Sep 2026 15:55:48 +0330 Subject: [PATCH] fix(aria2): include callback definition for gcc builds - Include DHTMessageCallback.h before namespace aria2 so GCC can instantiate unique_ptr defaults.\n- Refresh the checked-in Aria2 patch and all platform patch digests.\n- Validate the clean-source patch application and local engine checks. --- engine-sources.lock.json | 4 ++-- engines.lock.json | 2 +- scripts/aria2/firelink.patch | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/engine-sources.lock.json b/engine-sources.lock.json index 8fda142..6dff525 100644 --- a/engine-sources.lock.json +++ b/engine-sources.lock.json @@ -23,7 +23,7 @@ "sha256": "60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b", "buildFromSource": true, "patch": "scripts/aria2/firelink.patch", - "patchSha256": "b696988effe116fab40b52df61dab8af8042c65894a492e490d109f410a8ade6", + "patchSha256": "1210eeeb0c82a2fee1ef5d28521569259c18a122d3b439135bba57ee39c5f61d", "allocationTelemetry": true, "firelinkRouteContract": { "revision": "firelink-native-dns-v1", @@ -55,7 +55,7 @@ "sha256": "60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b", "buildFromSource": true, "patch": "scripts/aria2/firelink.patch", - "patchSha256": "b696988effe116fab40b52df61dab8af8042c65894a492e490d109f410a8ade6", + "patchSha256": "1210eeeb0c82a2fee1ef5d28521569259c18a122d3b439135bba57ee39c5f61d", "allocationTelemetry": true, "firelinkRouteContract": { "revision": "firelink-native-dns-v1", diff --git a/engines.lock.json b/engines.lock.json index b5a4f4d..37ca52e 100644 --- a/engines.lock.json +++ b/engines.lock.json @@ -21,7 +21,7 @@ }, "sha256": "c8fccb159db7cc23ddf9eab0d3eb4fdfb599b462b21b41074e07201afbba1ca7", "allocationTelemetry": true, - "patchSha256": "b696988effe116fab40b52df61dab8af8042c65894a492e490d109f410a8ade6" + "patchSha256": "1210eeeb0c82a2fee1ef5d28521569259c18a122d3b439135bba57ee39c5f61d" }, "ffmpeg": { "version": "9.0.1", diff --git a/scripts/aria2/firelink.patch b/scripts/aria2/firelink.patch index 304cbae..741f999 100644 --- a/scripts/aria2/firelink.patch +++ b/scripts/aria2/firelink.patch @@ -627,12 +627,14 @@ index 3e131833..ad8b6251 100644 + + void setMessageDispatcher(DHTMessageDispatcher* messageDispatcher); diff --git a/src/DHTMessageDispatcher.h b/src/DHTMessageDispatcher.h -index 72617876..02f54be2 100644 +index 72617876..eb7ff362 100644 --- a/src/DHTMessageDispatcher.h +++ b/src/DHTMessageDispatcher.h @@ -40,0 +41 @@ +#include -@@ -64,0 +66,5 @@ public: +@@ -42,0 +44 @@ ++#include "DHTMessageCallback.h" +@@ -64,0 +67,5 @@ public: + + // A hostname-resolved bootstrap address belongs to the active OS/TUN route, + // even when it is represented by a synthetic private IP. Implementations