Hello community, here is the log from the commit of package aalib for openSUSE:Factory checked in at 2015-09-19 06:52:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aalib (Old) and /work/SRC/openSUSE:Factory/.aalib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "aalib" Changes: -------- --- /work/SRC/openSUSE:Factory/aalib/aalib.changes 2015-05-20 23:19:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.aalib.new/aalib.changes 2015-09-19 06:52:36.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Sep 9 09:36:35 UTC 2015 - dimstar@opensuse.org + +- Add aalib-ncurses-6.0-accessors.patch: Fix build with + NCurses 6.0 with WINDOW_OPAQUE set to 1. + +------------------------------------------------------------------- New: ---- aalib-ncurses-6.0-accessors.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aalib.spec ++++++ --- /var/tmp/diff_new_pack.OpiMyl/_old 2015-09-19 06:52:37.000000000 +0200 +++ /var/tmp/diff_new_pack.OpiMyl/_new 2015-09-19 06:52:37.000000000 +0200 @@ -53,6 +53,7 @@ Patch10: aalib-reentrant.patch Patch11: aalib-1.4.0-config.patch Patch12: aalib-1.4.0-fdleak.patch +Patch13: aalib-ncurses-6.0-accessors.patch PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -92,6 +93,7 @@ %patch10 %patch11 %patch12 +%patch13 -p1 cd aavga-1.0 %patch2 cd ../../aview-* ++++++ aalib-ncurses-6.0-accessors.patch ++++++ Index: aalib-1.4.0/src/aacurses.c =================================================================== --- aalib-1.4.0.orig/src/aacurses.c +++ aalib-1.4.0/src/aacurses.c @@ -71,8 +71,8 @@ static void curses_getsize(aa_context * { 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; + *width = getmaxx(stdscr) + 1; + *height = getmaxy(stdscr) + 1; #ifdef GPM_MOUSEDRIVER gpm_mx = *width; gpm_my = *height;