1 Do not add -Werror when --enable-debug is used
3 Using -Werror causes some problems due to warnings in the SDL_sound
4 code, so let's disable it.
6 We patch configure directly, because:
8 1/ configure.in doesn't autoreconf properly out of the box.
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
14 3/ the patch will never go upstream, because upstream is dead.
16 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 ===================================================================
22 @@ -19561,7 +19561,6 @@
26 - CFLAGS="$CFLAGS -Werror"
28 cat >>confdefs.h <<\_ACEOF