* [Buildroot] [PATCH] package/sdl_sound: do not enable -Werror, even in debug mode
@ 2014-11-16 15:39 Yann E. MORIN
2014-11-16 15:50 ` Bernd Kuhls
0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2014-11-16 15:39 UTC (permalink / raw)
To: buildroot
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/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
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
diff --git a/package/sdl_sound/0001-no-Werror.patch b/package/sdl_sound/0001-no-Werror.patch
new file mode 100644
index 0000000..9aa91c7
--- /dev/null
+++ b/package/sdl_sound/0001-no-Werror.patch
@@ -0,0 +1,25 @@
+configure: do not enable -Werror, even in debug mode
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+
+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
diff --git a/package/sdl_sound/sdl_sound.mk b/package/sdl_sound/sdl_sound.mk
index 416f381..6180b42 100644
--- a/package/sdl_sound/sdl_sound.mk
+++ b/package/sdl_sound/sdl_sound.mk
@@ -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
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/sdl_sound: do not enable -Werror, even in debug mode
2014-11-16 15:39 [Buildroot] [PATCH] package/sdl_sound: do not enable -Werror, even in debug mode Yann E. MORIN
@ 2014-11-16 15:50 ` Bernd Kuhls
2014-11-16 15:57 ` Yann E. MORIN
0 siblings, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2014-11-16 15:50 UTC (permalink / raw)
To: buildroot
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
news:1416152347-760-1-git-send-email-yann.morin.1998 at free.fr:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/sdl_sound: do not enable -Werror, even in debug mode
2014-11-16 15:50 ` Bernd Kuhls
@ 2014-11-16 15:57 ` Yann E. MORIN
2014-11-17 10:39 ` Vicente Olivert Riera
0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2014-11-16 15:57 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-11-16 16:50 +0100, Bernd Kuhls spake thusly:
> "Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
> news:1416152347-760-1-git-send-email-yann.morin.1998 at free.fr:
>
> > 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.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/sdl_sound: do not enable -Werror, even in debug mode
2014-11-16 15:57 ` Yann E. MORIN
@ 2014-11-17 10:39 ` Vicente Olivert Riera
0 siblings, 0 replies; 4+ messages in thread
From: Vicente Olivert Riera @ 2014-11-17 10:39 UTC (permalink / raw)
To: buildroot
On 11/16/2014 03:57 PM, Yann E. MORIN wrote:
> Bernd, All,
>
> On 2014-11-16 16:50 +0100, Bernd Kuhls spake thusly:
>> "Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
>> news:1416152347-760-1-git-send-email-yann.morin.1998 at free.fr:
>>
>>> 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).
>
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
--
Vicente Olivert Riera
Graduate Software Engineer, MIPS Processor IP
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-17 10:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-16 15:39 [Buildroot] [PATCH] package/sdl_sound: do not enable -Werror, even in debug mode Yann E. MORIN
2014-11-16 15:50 ` Bernd Kuhls
2014-11-16 15:57 ` Yann E. MORIN
2014-11-17 10:39 ` Vicente Olivert Riera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox