commit gdb for openSUSE:Factory
Hello community, here is the log from the commit of package gdb for openSUSE:Factory checked in at Sun Apr 25 18:40:41 CEST 2010. -------- --- gdb/gdb.changes 2010-04-15 15:11:16.000000000 +0200 +++ /mounts/work_src_done/STABLE/gdb/gdb.changes 2010-04-22 21:14:09.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 22 19:13:48 UTC 2010 - aj@suse.de + +- Add upstream change to fix build with -Werror + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gdb-7.1-werror.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdb.spec ++++++ --- /var/tmp/diff_new_pack.WMHRWq/_old 2010-04-25 18:40:09.000000000 +0200 +++ /var/tmp/diff_new_pack.WMHRWq/_new 2010-04-25 18:40:09.000000000 +0200 @@ -24,7 +24,7 @@ # NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3 # and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch). Version: 7.1 -Release: 1 +Release: 2 # The release always contains a leading reserved number, start it at 1. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing. @@ -433,6 +433,9 @@ Patch448: gdb-bz578250-avx-10of10.patch Patch449: gdb-bz578250-avx-10of10-ppc.patch +# Upstream patch to fix gcc -Werror +Patch500: gdb-7.1-werror.patch + # Fix readline 5.1 warnings Patch1000: readline-5.1-random.patch Patch1002: gdb-6.6-buildid-locate-rpm-suse.patch @@ -661,6 +664,7 @@ %patch447 -p1 %patch448 -p1 %patch449 -p1 +%patch500 -p0 %patch1000 %patch1002 -p1 ++++++ gdb-7.1-werror.patch ++++++ --- gdb/tui/tui-regs.c 2010-01-01 08:32:07.000000000 +0100 +++ gdb/tui/tui-regs.c 2010-04-20 09:23:59.000000000 +0200 @@ -541,7 +541,12 @@ int i; if (data->highlight) - wstandout (win_info->handle); + /* We ignore the return value, casting it to void in order to avoid + a compiler warning. The warning itself was introduced by a patch + to ncurses 5.7 dated 2009-08-29, changing this macro to expand + to code that causes the compiler to generate an unused-value + warning. */ + (void) wstandout (win_info->handle); wmove (win_info->handle, 0, 0); for (i = 1; i < win_info->width; i++) @@ -551,7 +556,12 @@ waddstr (win_info->handle, data->content); if (data->highlight) - wstandend (win_info->handle); + /* We ignore the return value, casting it to void in order to avoid + a compiler warning. The warning itself was introduced by a patch + to ncurses 5.7 dated 2009-08-29, changing this macro to expand + to code that causes the compiler to generate an unused-value + warning. */ + (void) wstandend (win_info->handle); tui_refresh_win (win_info); } } --- gdb/tui/tui-stack.c 2010-01-01 08:32:07.000000000 +0100 +++ gdb/tui/tui-stack.c 2010-04-20 09:23:59.000000000 +0200 @@ -256,10 +256,15 @@ string = tui_make_status_line (&element->which_element.locator); wmove (locator->handle, 0, 0); - wstandout (locator->handle); + /* We ignore the return value from wstandout and wstandend, casting + them to void in order to avoid a compiler warning. The warning + itself was introduced by a patch to ncurses 5.7 dated 2009-08-29, + changing these macro to expand to code that causes the compiler + to generate an unused-value warning. */ + (void) wstandout (locator->handle); waddstr (locator->handle, string); wclrtoeol (locator->handle); - wstandend (locator->handle); + (void) wstandend (locator->handle); tui_refresh_win (locator); wmove (locator->handle, 0, 0); xfree (string); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de