Hello community, here is the log from the commit of package crosscrash for openSUSE:Factory checked in at Mon Mar 8 01:26:24 CET 2010. -------- --- crosscrash/crosscrash.changes 2008-11-10 16:47:05.000000000 +0100 +++ /mounts/work_src_done/STABLE/crosscrash/crosscrash.changes 2010-02-21 11:08:33.000000000 +0100 @@ -1,0 +2,5 @@ +Sun Feb 21 10:09:04 UTC 2010 - bernhard@bwalle.de + +- Fix build for gcc 4.5. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- crosscrash-gcc-4.5.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crosscrash.spec ++++++ --- /var/tmp/diff_new_pack.ywyEOJ/_old 2010-03-08 01:25:50.000000000 +0100 +++ /var/tmp/diff_new_pack.ywyEOJ/_new 2010-03-08 01:25:50.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package crosscrash (Version 4.0.7.4) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,10 +21,10 @@ Name: crosscrash Summary: Cross-architecture version of crash (tool to debug kernel dump files) Version: 4.0.7.4 -Release: 2 +Release: 3 %define crash_version %(echo %{version} | cut -d . -f 1-2) %define crash_subversion %(echo %{version} | cut -d . -f 3-4) -License: GPL v2 only; GPL v2 or later; LGPL v2.1 or later +License: GPLv2 ; GPLv2+ ; LGPLv2.1+ Group: Development/Tools/Debuggers Source: crash-%{crash_version}-%{crash_subversion}.tar.bz2 Source1: README.SUSE @@ -103,6 +103,7 @@ Patch71: crosscrash-no-return.diff.bz2 Patch72: crosscrash-portability-issue.diff.bz2 Patch73: crosscrash-buffer-overflow.diff.bz2 +Patch74: crosscrash-gcc-4.5.diff BuildRequires: bison flex ncurses-devel zlib-devel %description @@ -199,6 +200,7 @@ %patch71 -p1 %patch72 -p1 %patch73 -p1 +%patch74 -p1 %build #export CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing" @@ -221,4 +223,5 @@ %doc README COPYING README.SUSE # :mode=rpm-spec:maxLineLen=0: + %changelog ++++++ crosscrash-gcc-4.5.diff ++++++ http://www.mail-archive.com/crash-utility@redhat.com/msg01901.html --- Makefile | 2 +- unwind_x86_64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/unwind_x86_64.h +++ b/unwind_x86_64.h @@ -23,7 +23,7 @@ extern void free_unwind_table(void); #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) -#define BUILD_BUG_ON_ZERO(e) (sizeof(char[1 - 2 * !!(e)]) - 1) +#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) #define get_unaligned(ptr) (*(ptr)) //#define __get_user(x,ptr) __get_user_nocheck((x),(ptr),sizeof(*(ptr))) --- a/Makefile +++ b/Makefile @@ -247,7 +247,7 @@ gdb_merge: force @echo "${LDFLAGS} -lz -ldl -rdynamic" > ${GDB}/gdb/mergelibs @echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj @if [ ! -f ${GDB}/config.status ]; then \ - (cd ${GDB}; CFLAGS="$(ADD_CFLAGS)" ./configure --with-separate-debug-dir=/usr/lib/debug \ + (cd ${GDB}; CFLAGS="$(ADD_CFLAGS)" ./configure --disable-tui --with-separate-debug-dir=/usr/lib/debug \ --enable-targets=${GDB_TARGETS}; \ make --no-print-directory;) \ else (cd ${GDB}/gdb; make --no-print-directory;); fi ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org