libostree: fix cross and musl builds

This commit is contained in:
Duncaen 2017-04-14 13:38:12 +02:00
parent 874ac0a8e9
commit 227b94f872
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
--- src/libostree/ostree-repo.c
+++ src/libostree/ostree-repo.c
@@ -42,6 +42,7 @@
#include <locale.h>
#include <glib/gstdio.h>
+#include <sys/file.h>
/**
* SECTION:ostree-repo
--- src/libostree/ostree-sysroot.c
+++ src/libostree/ostree-sysroot.c
@@ -21,6 +21,7 @@
#include "config.h"
#include "otutil.h"
+#include <sys/file.h>
#include <sys/mount.h>
#include <sys/wait.h>

View File

@ -4,7 +4,7 @@ version=2017.3
revision=1
build_style=gnu-configure
configure_args="--with-builtin-grub2-mkconfig --with-openssl"
hostmakedepends="bison libxslt pkg-config"
hostmakedepends="bison libxslt pkg-config glib-devel"
makedepends="e2fsprogs-devel fuse-devel glib-devel gpgme-devel libarchive-devel
liblzma-devel libressl-devel libsoup-devel"
short_desc="Operating system and container binary deployment and upgrades"