python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / sdl_sound / 0002-remove-werror.patch
blobc08bbdb8935a75640934f3f2b638c53fcb7c755d
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>
18 Index: b/configure
19 ===================================================================
20 --- a/configure
21 +++ b/configure
22 @@ -19561,7 +19561,6 @@
23 else
24 CFLAGS="-O0"
26 - CFLAGS="$CFLAGS -Werror"
28 cat >>confdefs.h <<\_ACEOF
29 #define DEBUG 1