diff --git a/srcpkgs/libostree/patches/gir-cross.patch b/srcpkgs/libostree/patches/gir-cross.patch new file mode 100644 index 00000000000..a2d280a7b7d --- /dev/null +++ b/srcpkgs/libostree/patches/gir-cross.patch @@ -0,0 +1,12 @@ +--- Makefile.in.orig ++++ Makefile.in +@@ -2702,9 +2702,6 @@ + $(am__append_40) $(am__append_43) $(am__append_45) + EXTRA_libostree_1_la_DEPENDENCIES = $(symbol_files) + +-# XXX: work around clang being passed -fstack-clash-protection which it doesn't understand +-# See: https://bugzilla.redhat.com/show_bug.cgi?id=1672012 +-INTROSPECTION_SCANNER_ENV = CC=gcc + @BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1 + @BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_INCLUDES = Gio-2.0 + @BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_CFLAGS = \ diff --git a/srcpkgs/libostree/template b/srcpkgs/libostree/template index d4b5e667965..ab03d470bac 100644 --- a/srcpkgs/libostree/template +++ b/srcpkgs/libostree/template @@ -1,7 +1,7 @@ # Template file for 'libostree' pkgname=libostree -version=2019.2 -revision=3 +version=2019.6 +revision=1 build_style=gnu-configure build_helper="gir" configure_args="--with-builtin-grub2-mkconfig --with-openssl @@ -16,7 +16,7 @@ license="LGPL-2.0-or-later" homepage="https://ostree.readthedocs.io/en/latest/" changelog="https://github.com/ostreedev/ostree/releases" distfiles="https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz" -checksum=9e0051be1ec0f5642cc3ce56a404f7f9c78d6b74068b23e8dd465772c7cf6b59 +checksum=5482b8fc179c6d2861acb176a1c379e4d02f709bffa92e63f5360f65e57219ae build_options="gir" build_options_default="gir"