nixpkgs-suyu/pkgs/tools/archivers/arc_unpacker
Vikram Narayanan 7d6b3abe12 arc_unpacker: Move to catch2 to support aarch64-darwin
catch is ancient and has no support for aarch64-darwin. The following
snippet is an example of what is supported on darwin platforms in catch
(i.e., prior to v2).
```
#ifdef CATCH_PLATFORM_MAC
#if defined(__ppc64__) || defined(__ppc__)
    #define CATCH_TRAP() \
	__asm__("li r0, 20\nsc\nnop\nli r0, 37\nli r4, 2\nsc\nnop\n" \
	: : : "memory","r0","r3","r4" ) /* NOLINT */
#else
    #define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
#endif
```
2021-11-21 19:32:25 -08:00
..
default.nix arc_unpacker: Move to catch2 to support aarch64-darwin 2021-11-21 19:32:25 -08:00