]> git.pld-linux.org Git - packages/xen.git/blob - xen-gcc.patch
- seems for me fails too to commit directly to branch:
[packages/xen.git] / xen-gcc.patch
1 --- xen-3.0.4_1-src/Config.mk   2007-01-08 15:00:44.000000000 +0000
2 +++ xen-3.0.4_1-src/Config.mk   2007-01-10 10:04:04.000000000 +0000
3 @@ -13,7 +13,7 @@ CONFIG_$(XEN_OS) := y
4  
5  # Tools to run on system hosting the build
6  HOSTCC      = gcc
7 -HOSTCFLAGS  = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
8 +HOSTCFLAGS  = -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
9  HOSTCFLAGS += -fno-strict-aliasing
10  HOSTCFLAGS_x86_32 = -m32
11  HOSTCFLAGS_x86_64 = -m64
12 @@ -39,7 +39,7 @@ endif
13  
14  CFLAGS += -std=gnu99
15  
16 -CFLAGS += -Wall -Wstrict-prototypes
17 +CFLAGS += -Wstrict-prototypes 
18  
19  # -Wunused-value makes GCC 4.x too aggressive for my taste: ignoring the
20  # result of any casted expression causes a warning.
21 --- xen-3.2.0-rc4/tools/blktap/drivers/Makefile~        2007-11-02 19:29:31.000000000 +0100
22 +++ xen-3.2.0-rc4/tools/blktap/drivers/Makefile 2007-12-25 17:26:40.922320015 +0100
23 @@ -8,7 +8,7 @@
24  INST_DIR     = /usr/sbin
25  LIBAIO_DIR   = ../../libaio/src
26  
27 -CFLAGS   += -Werror
28 +#CFLAGS   += -Werror
29  CFLAGS   += -Wno-unused
30  CFLAGS   += -I $(XEN_LIBXC) -I $(LIBAIO_DIR)
31  CFLAGS   += $(INCLUDES) -I. -I../../xenstore 
32 --- xen-3.2.0-rc4/tools/libxc/xc_ptrace_core.c~ 2007-11-02 19:29:33.000000000 +0100
33 +++ xen-3.2.0-rc4/tools/libxc/xc_ptrace_core.c  2007-12-25 19:29:38.411444951 +0100
34 @@ -653,7 +653,7 @@
35  xc_waitdomain_core(int xc_handle, int domfd, int *status, int options,
36                     vcpu_guest_context_t *ctxt)
37  {
38 -    int ret;
39 +    int ret = -1;
40      int i;
41  
42      for (i = 0; i < NR_FORMAT_TYPE; i++) {
This page took 0.088644 seconds and 3 git commands to generate.