* [Qemu-devel] [PATCH] sdl: workaround bug in sdl 2.0.8 headers
@ 2018-03-07 15:42 Gerd Hoffmann
2018-03-07 15:55 ` Daniel P. Berrangé
0 siblings, 1 reply; 2+ messages in thread
From: Gerd Hoffmann @ 2018-03-07 15:42 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892087
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 6f3921c02a..86240f97ac 100755
--- a/configure
+++ b/configure
@@ -2874,6 +2874,7 @@ if test "$sdl" != "no" ; then
int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
EOF
sdl_cflags=$($sdlconfig --cflags 2>/dev/null)
+ sdl_cflags="$sdl_cflags -Wno-undef" # workaround 2.0.8 bug
if test "$static" = "yes" ; then
if $pkg_config $sdlname --exists; then
sdl_libs=$($pkg_config $sdlname --static --libs 2>/dev/null)
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] sdl: workaround bug in sdl 2.0.8 headers
2018-03-07 15:42 [Qemu-devel] [PATCH] sdl: workaround bug in sdl 2.0.8 headers Gerd Hoffmann
@ 2018-03-07 15:55 ` Daniel P. Berrangé
0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrangé @ 2018-03-07 15:55 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel
On Wed, Mar 07, 2018 at 04:42:57PM +0100, Gerd Hoffmann wrote:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892087
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> configure | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
>
> diff --git a/configure b/configure
> index 6f3921c02a..86240f97ac 100755
> --- a/configure
> +++ b/configure
> @@ -2874,6 +2874,7 @@ if test "$sdl" != "no" ; then
> int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
> EOF
> sdl_cflags=$($sdlconfig --cflags 2>/dev/null)
> + sdl_cflags="$sdl_cflags -Wno-undef" # workaround 2.0.8 bug
> if test "$static" = "yes" ; then
> if $pkg_config $sdlname --exists; then
> sdl_libs=$($pkg_config $sdlname --static --libs 2>/dev/null)
> --
> 2.9.3
>
>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-07 15:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-07 15:42 [Qemu-devel] [PATCH] sdl: workaround bug in sdl 2.0.8 headers Gerd Hoffmann
2018-03-07 15:55 ` Daniel P. Berrangé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).