SHA256
8
0
forked from pool/aalib

Accepting request 330007 from home:dimstar:Factory

- Add aalib-ncurses-6.0-accessors.patch: Fix build with
  NCurses 6.0 with WINDOW_OPAQUE set to 1.

OBS-URL: https://build.opensuse.org/request/show/330007
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aalib?expand=0&rev=28
This commit is contained in:
Ismail Dönmez
2015-09-09 10:07:11 +00:00
committed by Git OBS Bridge
parent faf382a1b0
commit ab7edf66a3
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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;

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
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.
-------------------------------------------------------------------
Sun May 17 09:06:56 UTC 2015 - meissner@suse.com

View File

@@ -53,6 +53,7 @@ Patch9: aalib-includes.patch
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 @@ Files needed for developing software that uses AAlib.
%patch10
%patch11
%patch12
%patch13 -p1
cd aavga-1.0
%patch2
cd ../../aview-*