diff options
author | Matthias Maier <tamiko@gentoo.org> | 2017-03-04 15:36:15 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-03-04 15:36:15 -0600 |
commit | ee4cf77bfc66702e29c6fad238edd2a7e02dab1d (patch) | |
tree | c56c12f9caa0c211aa709e3f0632fa38edb779ab /app-emulation | |
parent | app-emulation/libvirt-glib: drop old versions 0.2.3* (diff) | |
download | gentoo-ee4cf77bfc66702e29c6fad238edd2a7e02dab1d.tar.gz gentoo-ee4cf77bfc66702e29c6fad238edd2a7e02dab1d.tar.bz2 gentoo-ee4cf77bfc66702e29c6fad238edd2a7e02dab1d.zip |
app-emulation/libvirt: fix include for musl, bug #609488
Package-Manager: Portage-2.3.3, Repoman-2.3.2
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/libvirt/files/libvirt-3.1.0-musl-fix-includes.patch | 10 | ||||
-rw-r--r-- | app-emulation/libvirt/libvirt-3.1.0.ebuild | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/libvirt/files/libvirt-3.1.0-musl-fix-includes.patch b/app-emulation/libvirt/files/libvirt-3.1.0-musl-fix-includes.patch new file mode 100644 index 000000000000..70fb1686faa7 --- /dev/null +++ b/app-emulation/libvirt/files/libvirt-3.1.0-musl-fix-includes.patch @@ -0,0 +1,10 @@ +--- a/src/storage/storage_backend_fs.c ++++ b/src/storage/storage_backend_fs.c +@@ -30,6 +30,7 @@ + #include <dirent.h> + #include <errno.h> + #include <fcntl.h> ++#include <paths.h> + #include <unistd.h> + #include <string.h> + diff --git a/app-emulation/libvirt/libvirt-3.1.0.ebuild b/app-emulation/libvirt/libvirt-3.1.0.ebuild index bc87df8123f0..2d157d5078a6 100644 --- a/app-emulation/libvirt/libvirt-3.1.0.ebuild +++ b/app-emulation/libvirt/libvirt-3.1.0.ebuild @@ -126,6 +126,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch "${FILESDIR}"/${PN}-3.0.0-fix_paths_for_apparmor.patch "${FILESDIR}"/${PN}-1.3.4-glibc-2.23.patch + "${FILESDIR}"/${PN}-3.1.0-musl-fix-includes.patch # bug #609488 ) pkg_setup() { |