[PATCH 0/3] Fix Mac OS X build issues (and probably also BSD) | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
While compiling libvirt on a Mac OS X machine, the build failed tue to several reasons. This patchset fixes these issues and along with another patch that removes shadowed declarations of "devname" from stdlib.h on BSD based systems causes libvirt to compile cleanly. These patches were tested on v0.9.5-rc2 as I don't have the complete toolchain to do ./autogen.sh on a gitcheckout. Problems found: - fdatasync() is not supported on OS X. - Conditionaly compiled structure was left out but function using it was not. - OS X does not provide a 'mkfs' command, so the MKFS macro was not set. - /usr/include/stdlib.h exports 'devname' wildly used through libvirt Peter Krempa (3): build: storage: fdatasync() is not supported in Mac OS X. build: storage: Conditionaly compiled structure caused build fail on OSX build: storage: Macro 'MKFS' is undefined on some platforms. src/storage/storage_backend.c | 2 +- src/storage/storage_backend_fs.c | 15 +++++++++++++++ src/storage/storage_backend_fs.h | 3 ++- src/storage/storage_driver.c | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) -- 1.7.3.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list
[Virt Tools] [Libvirt Users] [Fedora Users] [Fedora Legacy] [Fedora Maintainers] [Fedora Desktop] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]