File crosscrash-gcc-4.5.diff of Package crosscrash

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