Skip to content

Commit

Permalink
zesarux: fix build for libcaca-0.99.beta20
Browse files Browse the repository at this point in the history
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
  • Loading branch information
trofi committed Apr 15, 2022
1 parent 92d1f76 commit 77a8b9f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/applications/emulators/zesarux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 77a8b9f

Please sign in to comment.