package/sdl_sound: do not enable -Werror, even in debug mode
PATCH 1/1 package/sdl_sound: do not enable -Werror, even in debug mode
Add a patch to remove -Werror from configure.in.
We then need to autoreconf, but the package is missing the GNU-related NEWS, AUTHORS and such files, so we also have to make if an automake foreign package, too.
Fixes:
http://autobuild.buildroot.net/results/6f5/6f5e1b782923d6e69e929466f0ddd3eeba28c6f1/ http://autobuild.buildroot.net/results/c1b/c1b31dc37fe62cb6901edad02bf50d73072b7cf0/ http://autobuild.buildroot.net/results/162/162e6d77e5812060001ea22faff99055aae3122a/ ...
--- package/sdl_sound/0001-no-Werror.patch | 25 +++++++++++++++++++++++++ package/sdl_sound/sdl_sound.mk | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 package/sdl_sound/0001-no-Werror.patch
package/sdl_sound/0001-no-Werror.patch new file +25 -0
@@ -0,0 +1,25 @@ +configure: do not enable -Werror, even in debug mode + +Signed-off-by: "Yann E. MORIN" <[email protected]> + +diff -durN sdl_sound-1.0.3.orig/configure.in sdl_sound-1.0.3/configure.in +--- sdl_sound-1.0.3.orig/configure.in 2008-04-20 22:33:43.000000000 +0200 ++++ sdl_sound-1.0.3/configure.in 2014-11-16 16:19:24.460113401 +0100 +@@ -70,7 +70,7 @@ + else + CFLAGS="-O0" + fi +- CFLAGS="$CFLAGS -Werror" ++ CFLAGS="$CFLAGS" + AC_DEFINE(DEBUG, 1, [Define for debug builds.]) + AC_DEFINE(DEBUG_CHATTER, 1, [Define for debug build chattering.]) + else +diff -durN sdl_sound-1.0.3.orig/Makefile.am sdl_sound-1.0.3/Makefile.am +--- sdl_sound-1.0.3.orig/Makefile.am 2008-04-17 20:02:22.000000000 +0200 ++++ sdl_sound-1.0.3/Makefile.am 2014-11-16 16:36:20.671156805 +0100 +@@ -1,3 +1,5 @@ ++AUTOMAKE_OPTIONS = foreign ++ + lib_LTLIBRARIES = libSDL_sound.la + + SUBDIRS = decoders . playsound
package/sdl_sound/sdl_sound.mk +3 -0
@@ -12,6 +12,9 @@ SDL_SOUND_LICENSE_FILES = COPYING SDL_SOUND_INSTALL_STAGING = YES SDL_SOUND_DEPENDENCIES = sdl +# Patch touching configure.in +SDL_SOUND_AUTORECONF = YES + ifneq ($(BR2_ENABLE_LOCALE),y) SDL_SOUND_DEPENDENCIES += libiconv endif
Signature · 1 line
1.9.1
PATCH 1/1 package/sdl_sound: do not enable -Werror, even in debug mode
"Yann E. MORIN" <[email protected]> wrote in news:1416152347-760-1-git-send-email-yann.morin.1998 at free.fr:
Quoted 1 line
Add a patch to remove -Werror from configure.in.
Hi Yann,
a similar patch was rejected by Peter:
http://patchwork.ozlabs.org/patch/400969/
Regards, Bernd
PATCH 1/1 package/sdl_sound: do not enable -Werror, even in debug mode
Bernd, All,
On 2014-11-16 16:50 +0100, Bernd Kuhls spake thusly:
Quoted 7 lines
"Yann E. MORIN" <[email protected]> wrote in news:1416152347-760-1-git-send-email-yann.morin.1998 at free.fr:
Quoted 1 line
Add a patch to remove -Werror from configure.in.
a similar patch was rejected by Peter:
http://patchwork.ozlabs.org/patch/400969/
Damned... :-(
Thanks for pointing out, I'll mark my patch Rejected in Patchwork (but will keep it locally, so I remember to fix this issue).
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/sdl_sound: do not enable -Werror, even in debug mode
Quoted 8 lines · Yann E. MORIN
Bernd, All,
On 2014-11-16 16:50 +0100, Bernd Kuhls spake thusly:
Quoted 5 lines
"Yann E. MORIN" <[email protected]> wrote in news:1416152347-760-1-git-send-email-yann.morin.1998 at free.fr:
Quoted 1 line
Add a patch to remove -Werror from configure.in.
Quoted 8 lines
Quoted 2 lines
a similar patch was rejected by Peter:
http://patchwork.ozlabs.org/patch/400969/Damned... :-(
Thanks for pointing out, I'll mark my patch Rejected in Patchwork (but will keep it locally, so I remember to fix this issue).
It also was reported upstream, so, if you fix it, please consider sending a patch to upstream as well:
http://lists.libsdl.org/pipermail/sdl-libsdl.org/2014-November/096804.html
Signature · 5 lines
Vicente Olivert Riera Graduate Software Engineer, MIPS Processor IP Imagination Technologies Limited t: +44 (0)113 2429814 www.imgtec.com