qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1.1 0/2]: qemu-ga: fix build on openbsd
@ 2012-05-23 18:48 Luiz Capitulino
  2012-05-23 18:48 ` [Qemu-devel] [PATCH 1/2] configure: check if environ is declared Luiz Capitulino
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Luiz Capitulino @ 2012-05-23 18:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori, eblake, mdroth, afaerber, kraxel

Build error found by buildbot:

 qga/commands-posix.c: In function 'qmp_guest_shutdown':
 qga/commands-posix.c:65: error: 'environ' undeclared (first use in this function)
 qga/commands-posix.c:65: error: (Each undeclared identifier is reported only once
 qga/commands-posix.c:65: error: for each function it appears in.)

On F16 environ is declared in <unistd.h>, but that obviously doesn't
happen on all systems.

Tested on OpenBSD 4.9.

PS: I get zillions of -Wno-redundant-decls errors on OpenBSD 4.8 and still
    get other warnnigs if I drop that flag.

 configure            |   19 +++++++++++++++++++
 qga/commands-posix.c |    6 +++++-
 2 files changed, 24 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Qemu-devel] [PULL 1.1] qemu-ga build fix for OpenBSD
@ 2012-05-24 18:52 Michael Roth
  2012-05-24 18:52 ` [Qemu-devel] [PATCH 1/2] configure: check if environ is declared Michael Roth
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Roth @ 2012-05-24 18:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori, lcapitulino

The following changes since commit aeb29b6459cb9496b38c820f3faff64cf2369d0d:

  audio: Always call fini on exit (2012-05-24 19:35:27 +0400)

are available in the git repository at:
  git://github.com/mdroth/qemu.git qga-pull-5-24-12

Luiz Capitulino (2):
      configure: check if environ is declared
      qemu-ga: Fix missing environ declaration

 configure            |   19 +++++++++++++++++++
 qga/commands-posix.c |    6 +++++-
 2 files changed, 24 insertions(+), 1 deletions(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-05-24 18:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 18:48 [Qemu-devel] [PATCH 1.1 0/2]: qemu-ga: fix build on openbsd Luiz Capitulino
2012-05-23 18:48 ` [Qemu-devel] [PATCH 1/2] configure: check if environ is declared Luiz Capitulino
2012-05-23 18:48 ` [Qemu-devel] [PATCH 2/2] qemu-ga: Fix missing environ declaration Luiz Capitulino
2012-05-23 20:08 ` [Qemu-devel] [PATCH 1.1 0/2]: qemu-ga: fix build on openbsd Michael Roth
2012-05-23 21:25   ` Luiz Capitulino
2012-05-23 22:02     ` Michael Roth
2012-05-23 22:15       ` Andreas Färber
2012-05-23 22:57         ` Michael Roth
2012-05-23 23:07         ` Michael Roth
  -- strict thread matches above, loose matches on Subject: below --
2012-05-24 18:52 [Qemu-devel] [PULL 1.1] qemu-ga build fix for OpenBSD Michael Roth
2012-05-24 18:52 ` [Qemu-devel] [PATCH 1/2] configure: check if environ is declared Michael Roth

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).