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
This commit is contained in:
Sergei Trofimovich 2022-04-15 20:45:12 +01:00
parent 92d1f76186
commit 77a8b9fa82

View File

@ -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 = ''