The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / sdl_sound / 0002-remove-werror.patch
1 Do not add -Werror when --enable-debug is used
2
3 Using -Werror causes some problems due to warnings in the SDL_sound
4 code, so let's disable it.
5
6 We patch configure directly, because:
7
8  1/ configure.in doesn't autoreconf properly out of the box.
9
10  2/ the length of the configure or configure.in patch would be exactly
11     the same (one line), or maybe more for the configure.in patch if
12     we want the package to autoreconf properly
13
14  3/ the patch will never go upstream, because upstream is dead.
15
16 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
17
18 Index: b/configure
19 ===================================================================
20 --- a/configure
21 +++ b/configure
22 @@ -19561,7 +19561,6 @@
23    else
24      CFLAGS="-O0"
25    fi
26 -  CFLAGS="$CFLAGS -Werror"
27  
28  cat >>confdefs.h <<\_ACEOF
29  #define DEBUG 1