Re: git: 84b697165ef3 - main - emulators/citra: unbreak fetch after 66e2037c4970

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 01 Jan 2022 01:55:22 UTC
Jan Beich <jbeich@FreeBSD.org> writes:

> The branch main has been updated by jbeich:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=84b697165ef31bd2c4cbc1f9605d4de3a507500b
>
> commit 84b697165ef31bd2c4cbc1f9605d4de3a507500b
> Author:     Jan Beich <jbeich@FreeBSD.org>
> AuthorDate: 2022-01-01 01:36:26 +0000
> Commit:     Jan Beich <jbeich@FreeBSD.org>
> CommitDate: 2022-01-01 01:41:16 +0000
>
>     emulators/citra: unbreak fetch after 66e2037c4970
>     
>     Failover between mirrors doesn't work if file exists but is different.
>     
>     => Attempting to fetch https://api.citra-emu.org/gamedb/?dummy=/citra/compatibility_list.json
>     [...]
>     => SHA256 Checksum mismatch for citra/compatibility_list.json.
>     [...]
>     ===>  Giving up on fetching files:  citra/compatibility_list.json
>     
>     Reported by:    pkg-fallout

For the curious, upstream changes pretty-printed (jq):

--- before
+++ after
@@ -19575,7 +19575,7 @@
     "id": "f06ff707-0ebe-428d-a8da-3f2d4ddf569b",
     "directory": "the-legend-of-zelda-a-link-between-worlds",
     "title": "The Legend of Zelda:  A Link Between Worlds",
-    "compatibility": 1,
+    "compatibility": 2,
     "releases": [
       {
         "id": "00040000000EC300",
@@ -20247,7 +20247,7 @@
     "id": "f7291b92-cdb9-4c07-a637-518ada60682e",
     "directory": "the-legend-of-zelda-majoras-mask-3d",
     "title": "The Legend of Zelda: Majora’s Mask 3D",
-    "compatibility": 1,
+    "compatibility": 2,
     "releases": [
       {
         "id": "0004000000125500",