| 1 |
Description: fix-ftbfs-incomplete-typedef |
| 2 |
This has been caused by a recent change in ncurses which makes the |
| 3 |
WINDOW structure opaque. Accessing its members directly is no longer |
| 4 |
possible |
| 5 |
Bug-Debian: 1057381 |
| 6 |
Last-Update: 2024-01-25 |
| 7 |
|
| 8 |
--- aalib-1.4p5.orig/src/aacurses.c |
| 9 |
+++ aalib-1.4p5/src/aacurses.c |
| 10 |
@@ -77,8 +77,7 @@ static void curses_getsize(aa_context * |
| 11 |
{ |
| 12 |
if (__resized_curses) |
| 13 |
curses_uninit(c), curses_init(&c->params, NULL,&c->driverparams, NULL), __resized_curses = 0; |
| 14 |
- *width = stdscr->_maxx + 1; |
| 15 |
- *height = stdscr->_maxy + 1; |
| 16 |
+ getmaxyx(stdscr, *width, *height); |
| 17 |
#ifdef GPM_MOUSEDRIVER |
| 18 |
gpm_mx = *width; |
| 19 |
gpm_my = *height; |