libostree: fix cross and musl builds
This commit is contained in:
parent
874ac0a8e9
commit
227b94f872
|
@ -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>
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue