diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-04-15 20:45:12 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-04-15 20:45:12 +0100 |
commit | 77a8b9fa82a45bbf48978aaa095ce72b8ff5e0a9 (patch) | |
tree | 0570e85c56d6e031ea1863078002abb3427180e3 /pkgs/applications/emulators/zesarux/default.nix | |
parent | 92d1f76186bb974dd90971d7619f8bf0bff23a73 (diff) |
zesarux: fix build for libcaca-0.99.beta20
Without the change `zesarux` fails build on `master` as:
scrcaca.c:51:5: error: unknown type name 'cucul_canvas_t'; did you mean 'caca_canvas_t'?
51 | cucul_canvas_t *cv; caca_display_t *dp; caca_event_t ev;
| ^~~~~~~~~~~~~~
| caca_canvas_t
Diffstat (limited to 'pkgs/applications/emulators/zesarux/default.nix')
-rw-r--r-- | pkgs/applications/emulators/zesarux/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/zesarux/default.nix b/pkgs/applications/emulators/zesarux/default.nix index 4df6cfafbc01..4a00f9b03496 100644 --- a/pkgs/applications/emulators/zesarux/default.nix +++ b/pkgs/applications/emulators/zesarux/default.nix @@ -50,6 +50,14 @@ stdenv.mkDerivation rec { url = "https://github.com/chernandezba/zesarux/commit/4493439b38f565c5be7c36239ecaf0cf80045627.diff"; sha256 = "sha256-f+21naPcPXdcVvqU8ymlGfl1WkYGOeOBe9B/WFUauTI="; }) + + # Patch pending upstream release for libcaca-0.99.beta20 support: + # https://github.com/chernandezba/zesarux/pull/1 + (fetchpatch { + name = "libcaca-0.99.beta20.patch"; + url = "https://github.com/chernandezba/zesarux/commit/542786338d00ab6fcdf712bbd6f5e891e8b26c34.diff"; + sha256 = "sha256-UvXvBb9Nzw5HNz0uiv2SV1Oeiw7aVCa0jhEbThDRVec="; + }) ]; postPatch = '' |