Hi Dr. Volker Zell, the aalib maintainer!

While porting libggi to Cygwin64, I had a small hickup while
building the optional prerequisite aalib, apparently because
of changes in ncurses between v9 and v10. I had to apply the
below patch.

Would you like me to request an upload of an aalib-1.4rc5-11
package for Cygwin64 with the below patch, or are you going
to do so anytime soon?

You can peek at how I envision the -11-src package from

http://www.lysator.liu.se/~peda/cygwin/aalib-1.4rc5-11-src.tar.bz2

Cheers,
Peter


--- origsrc/aalib-1.4.0/src/aacurses.c  2001-04-26 16:37:31.000000000 +0200
+++ src/aalib-1.4.0/src/aacurses.c      2013-03-14 23:00:48.531414400 +0100
@@ -71,8 +71,7 @@ static void curses_uninit(aa_context * c
 {
     if (__resized_curses)
        curses_uninit(c), curses_init(&c->params, NULL,&c->driverparams, NULL), 
__resized_curses = 0;
-    *width = stdscr->_maxx + 1;
-    *height = stdscr->_maxy + 1;
+    getmaxyx(stdscr, *height, *width);
 #ifdef GPM_MOUSEDRIVER
     gpm_mx = *width;
     gpm_my = *height;

Reply via email to