ia64/xen-unstable

changeset 19482:dbc4014882d0

stubdom: Fix newlib-chk.patch so it applies
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Apr 01 08:36:21 2009 +0100 (2009-04-01)
parents f6fd1c2e4da6
children 380cfb464b3b
files stubdom/newlib-chk.patch
line diff
     1.1 --- a/stubdom/newlib-chk.patch	Tue Mar 31 18:37:58 2009 +0100
     1.2 +++ b/stubdom/newlib-chk.patch	Wed Apr 01 08:36:21 2009 +0100
     1.3 @@ -1,6 +1,5 @@
     1.4 -diff -Naur newlib-1.16.0/newlib/libc/stdio/fprintf_chk.c newlib-1.16.0/newlib/libc/stdio/fprintf_chk.c
     1.5 ---- newlib-1.16.0/newlib/libc/stdio/fprintf_chk.c	1969-12-31 19:00:00.000000000 -0500
     1.6 -+++ newlib-1.16.0/newlib/libc/stdio/fprintf_chk.c	2009-02-26 19:02:53.000000000 -0500
     1.7 +--- newlib/libc/stdio/fprintf_chk.c	1969-12-31 19:00:00.000000000 -0500
     1.8 ++++ newlib/libc/stdio/fprintf_chk.c	2009-02-26 19:02:53.000000000 -0500
     1.9  @@ -0,0 +1,21 @@
    1.10  +#include <stdarg.h>
    1.11  +#include <stdio.h>
    1.12 @@ -23,9 +22,8 @@ diff -Naur newlib-1.16.0/newlib/libc/std
    1.13  +  return done;
    1.14  +}
    1.15  +
    1.16 -diff -Naur newlib-1.16.0/newlib/libc/stdio/Makefile.am newlib-1.16.0/newlib/libc/stdio/Makefile.am
    1.17 ---- ./newlib-1.16.0/newlib/libc/stdio/Makefile.am	2007-08-02 16:23:06.000000000 -0400
    1.18 -+++ ./newlib-1.16.0/newlib/libc/stdio/Makefile.am	2009-02-26 18:14:53.000000000 -0500
    1.19 +--- newlib/libc/stdio/Makefile.am	2007-08-02 16:23:06.000000000 -0400
    1.20 ++++ newlib/libc/stdio/Makefile.am	2009-02-26 18:14:53.000000000 -0500
    1.21  @@ -20,6 +20,7 @@
    1.22   	flags.c			\
    1.23   	fopen.c			\
    1.24 @@ -42,9 +40,8 @@ diff -Naur newlib-1.16.0/newlib/libc/std
    1.25   	sscanf.c			\
    1.26   	stdio.c			\
    1.27   	tmpfile.c			\
    1.28 -diff -Naur newlib-1.16.0/newlib/libc/stdio/Makefile.in newlib-1.16.0/newlib/libc/stdio/Makefile.in
    1.29 ---- newlib-1.16.0/newlib/libc/stdio/Makefile.in	2007-12-19 17:36:38.000000000 -0500
    1.30 -+++ newlib-1.16.0/newlib/libc/stdio/Makefile.in	2009-02-26 18:43:52.000000000 -0500
    1.31 +--- newlib/libc/stdio/Makefile.in	2007-12-19 17:36:38.000000000 -0500
    1.32 ++++ newlib/libc/stdio/Makefile.in	2009-02-26 18:43:52.000000000 -0500
    1.33  @@ -63,7 +63,8 @@
    1.34   	lib_a-fgets.$(OBJEXT) lib_a-fileno.$(OBJEXT) \
    1.35   	lib_a-findfp.$(OBJEXT) lib_a-fiprintf.$(OBJEXT) \
    1.36 @@ -132,9 +129,8 @@ diff -Naur newlib-1.16.0/newlib/libc/std
    1.37   lib_a-sscanf.o: sscanf.c
    1.38   	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sscanf.o `test -f 'sscanf.c' || echo '$(srcdir)/'`sscanf.c
    1.39   
    1.40 -diff -Naur ./newlib-1.16.0/newlib/libc/stdio/sprintf_chk.c ../newlib-1.16.0/newlib/libc/stdio/sprintf_chk.c
    1.41 ---- newlib-1.16.0/newlib/libc/stdio/sprintf_chk.c	1969-12-31 19:00:00.000000000 -0500
    1.42 -+++ newlib-1.16.0/newlib/libc/stdio/sprintf_chk.c	2009-02-26 19:02:26.000000000 -0500
    1.43 +--- newlib/libc/stdio/sprintf_chk.c	1969-12-31 19:00:00.000000000 -0500
    1.44 ++++ newlib/libc/stdio/sprintf_chk.c	2009-02-26 19:02:26.000000000 -0500
    1.45  @@ -0,0 +1,21 @@
    1.46  +#include <stdarg.h>
    1.47  +#include <stdio.h>