From 227b94f872a6c8c616bf394bf4be2f93d4436cc7 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 14 Apr 2017 13:38:12 +0200 Subject: [PATCH] libostree: fix cross and musl builds --- srcpkgs/libostree/patches/musl-fixes.patch | 20 ++++++++++++++++++++ srcpkgs/libostree/template | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libostree/patches/musl-fixes.patch diff --git a/srcpkgs/libostree/patches/musl-fixes.patch b/srcpkgs/libostree/patches/musl-fixes.patch new file mode 100644 index 00000000000..4268530cf28 --- /dev/null +++ b/srcpkgs/libostree/patches/musl-fixes.patch @@ -0,0 +1,20 @@ +--- src/libostree/ostree-repo.c ++++ src/libostree/ostree-repo.c +@@ -42,6 +42,7 @@ + + #include + #include ++#include + + /** + * SECTION:ostree-repo +--- src/libostree/ostree-sysroot.c ++++ src/libostree/ostree-sysroot.c +@@ -21,6 +21,7 @@ + #include "config.h" + + #include "otutil.h" ++#include + #include + #include + diff --git a/srcpkgs/libostree/template b/srcpkgs/libostree/template index b13413bb67c..001a0d5b361 100644 --- a/srcpkgs/libostree/template +++ b/srcpkgs/libostree/template @@ -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"