commit cunit for openSUSE:Factory
Hello community, here is the log from the commit of package cunit for openSUSE:Factory checked in at 2015-10-26 12:47:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cunit (Old) and /work/SRC/openSUSE:Factory/.cunit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cunit" Changes: -------- --- /work/SRC/openSUSE:Factory/cunit/cunit.changes 2015-05-27 12:51:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cunit.new/cunit.changes 2015-10-26 12:47:23.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Oct 22 10:37:14 UTC 2015 - idonmez@suse.com + +- Add cunit-ncurses6.patch to compile with ncurses6 + +------------------------------------------------------------------- New: ---- cunit-ncurses6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cunit.spec ++++++ --- /var/tmp/diff_new_pack.LqwyMR/_old 2015-10-26 12:47:24.000000000 +0100 +++ /var/tmp/diff_new_pack.LqwyMR/_new 2015-10-26 12:47:24.000000000 +0100 @@ -28,6 +28,7 @@ Url: http://cunit.sourceforge.net/ Source0: http://download.sourceforge.net/cunit/%{_name}-%{_version}.tar.bz2 Patch0: cunit-link-ncurses.diff +Patch1: cunit-ncurses6.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -75,6 +76,8 @@ %prep %setup -q -n %{_name}-%{_version} %patch0 -p1 +%patch1 -p1 + chmod -x AUTHORS ChangeLog COPYING NEWS README TODO doc/*.html doc/*.css %build ++++++ cunit-ncurses6.patch ++++++ Index: CUnit-2.1-3/CUnit/Sources/Curses/Curses.c =================================================================== --- CUnit-2.1-3.orig/CUnit/Sources/Curses/Curses.c +++ CUnit-2.1-3/CUnit/Sources/Curses/Curses.c @@ -256,10 +256,10 @@ static bool initialize_windows(void) start_color(); - f_nLeft = application_windows.pMainWin->_begx; - f_nTop = application_windows.pMainWin->_begy; - f_nWidth = application_windows.pMainWin->_maxx; - f_nHeight = application_windows.pMainWin->_maxy; + f_nLeft = getbegx(application_windows.pMainWin); + f_nTop = getbegy(application_windows.pMainWin); + f_nWidth = getmaxx(application_windows.pMainWin); + f_nHeight = getmaxy(application_windows.pMainWin); if (NULL == (application_windows.pTitleWin = newwin(3, f_nWidth, 0, 0))) { goto title_fail; @@ -358,10 +358,10 @@ static void refresh_windows(void) { refresh(); - f_nLeft = application_windows.pMainWin->_begx; - f_nTop = application_windows.pMainWin->_begy; - f_nWidth = application_windows.pMainWin->_maxx; - f_nHeight = application_windows.pMainWin->_maxy; + f_nLeft = getbegx(application_windows.pMainWin); + f_nTop = getbegy(application_windows.pMainWin); + f_nWidth = getmaxx(application_windows.pMainWin); + f_nHeight = getmaxy(application_windows.pMainWin); refresh_title_window(); refresh_progress_window(); @@ -907,10 +907,10 @@ static bool create_pad(APPPAD* pPad, WIN pPad->uiColumns = uiCols; pPad->uiPadRow = 0; pPad->uiPadCol = 0; - pPad->uiWinLeft = application_windows.pDetailsWin->_begx + 1; - pPad->uiWinTop = application_windows.pDetailsWin->_begy + 1; - pPad->uiWinColumns = application_windows.pDetailsWin->_maxx - 2; - pPad->uiWinRows = application_windows.pDetailsWin->_maxy - 2; + pPad->uiWinLeft = getbegx(application_windows.pDetailsWin) + 1; + pPad->uiWinTop = getbegy(application_windows.pDetailsWin) + 1; + pPad->uiWinColumns = getmaxx(application_windows.pDetailsWin) - 2; + pPad->uiWinRows = getmaxy(application_windows.pDetailsWin) - 2; bStatus = true;
participants (1)
-
root@hilbert.suse.de