diff mbox series

[1/5] haiku build fix

Message ID CA+XhMqyDzenX2BiR7CnvZc-J91wWCX8ra==T_=WCe3xq3-n2hQ@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/5] haiku build fix | expand

Commit Message

David CARLIER June 26, 2020, 10:07 a.m. UTC
From 4d0933384d2bfcd0fc8c4c06eed2d07f3f1b7f8b Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen@gmail.com>
Date: Fri, 26 Jun 2020 10:35:40 +0000
Subject: [PATCH 1/5] Haiku build fix enabling BSD symbols.

Signed-off-by: David Carlier <devnexen@gmail.com>
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
2.26.0

Comments

Peter Maydell June 26, 2020, 10:56 a.m. UTC | #1
On Fri, 26 Jun 2020 at 11:08, David CARLIER <devnexen@gmail.com> wrote:
>
> From 4d0933384d2bfcd0fc8c4c06eed2d07f3f1b7f8b Mon Sep 17 00:00:00 2001
> From: David Carlier <devnexen@gmail.com>
> Date: Fri, 26 Jun 2020 10:35:40 +0000
> Subject: [PATCH 1/5] Haiku build fix enabling BSD symbols.
>
> Signed-off-by: David Carlier <devnexen@gmail.com>
> ---
>  configure | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM
Eric Blake June 26, 2020, 2:23 p.m. UTC | #2
On 6/26/20 5:07 AM, David CARLIER wrote:
>>From 4d0933384d2bfcd0fc8c4c06eed2d07f3f1b7f8b Mon Sep 17 00:00:00 2001
> From: David Carlier <devnexen@gmail.com>
> Date: Fri, 26 Jun 2020 10:35:40 +0000
> Subject: [PATCH 1/5] Haiku build fix enabling BSD symbols.
> 
> Signed-off-by: David Carlier <devnexen@gmail.com>
> ---
>   configure | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

meta-comment: when sending a series, it's best to send a 0/5 cover 
letter with the rest of the messages in-reply-to the cover.  This way, 
it's easier to track the related messages when viewing in a mail reader 
that groups by threads.

More patch submission hints, including how to make 'git send-email' 
automatically create a cover letter when needed, at:
https://wiki.qemu.org/Contribute/SubmitAPatch
diff mbox series

Patch

diff --git a/configure b/configure
index ba88fd1824..96ba4cf3ce 100755
--- a/configure
+++ b/configure
@@ -901,8 +901,8 @@  SunOS)
 ;;
 Haiku)
   haiku="yes"
-  QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS $QEMU_CFLAGS"
-  LIBS="-lposix_error_mapper -lnetwork $LIBS"
+  QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -DBSD_SOURCE $QEMU_CFLAGS"
+  LIBS="-lposix_error_mapper -lnetwork -lbsd $LIBS"
 ;;
 Linux)
   audio_drv_list="try-pa oss"