[libvirt] [PATCH 0/2] fix build on macOS

Roman Bogorodskiy bogorodskiy at gmail.com
Sat Nov 19 18:16:18 UTC 2016


This series fixes too issues.

  - rpcgen issue. rpcgen(1) that comes with macOS is too old. I've grabbed
    rpcgen from FreeBSD and created a brew formula for it[1]. I configure it like:
      ./configure ac_cv_path_RPCGEN=/usr/local/bin/bsdrpcgen

    It still requires darwin to be added to the fixup list in genprotocol.pl

  - macOS doesn't support clock_gettime(3), so use its own routnes

1: https://gist.github.com/novel/0d74cdbc7b71f60640a42b52c9cc1459

Roman Bogorodskiy (2):
  genprotocol.pl: add darwing to fixup list
  tests: fix eventtest build on macOS

 configure.ac           |  9 +++++++++
 src/rpc/genprotocol.pl |  2 +-
 tests/Makefile.am      |  2 +-
 tests/eventtest.c      | 16 ++++++++++++++++
 4 files changed, 27 insertions(+), 2 deletions(-)

-- 
2.10.2




More information about the libvir-list mailing list