Dave Plater
e6273284ff
- Add libcaca-ncurses6.patch: defined against a function name never worked, so set_escdelay was actually never used. With curses 6.0, though, ESCDELAY is no longer 'a variable', but a reference to a function, so we can't assign anything to it. We just assume that we always use a recent enough version of ncurses to have set_escdelay avaialble. OBS-URL: https://build.opensuse.org/request/show/328557 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcaca?expand=0&rev=38
17 lines
520 B
Diff
17 lines
520 B
Diff
Index: libcaca-0.99.beta19/caca/driver/ncurses.c
|
|
===================================================================
|
|
--- libcaca-0.99.beta19.orig/caca/driver/ncurses.c
|
|
+++ libcaca-0.99.beta19/caca/driver/ncurses.c
|
|
@@ -262,11 +262,7 @@ static int ncurses_init_graphics(caca_di
|
|
mouseinterval(-1); /* No click emulation */
|
|
|
|
/* Set the escape delay to a ridiculously low value */
|
|
-#if defined set_escdelay
|
|
set_escdelay(10);
|
|
-#else
|
|
- ESCDELAY = 10;
|
|
-#endif
|
|
|
|
/* Activate colour */
|
|
start_color();
|