ostree: revert to 2023.3, 2023.4 breaks flatpak install.

This commit is contained in:
Duncaen 2023-06-23 18:08:49 +02:00
parent 6396d899d2
commit 71f0e9f7be
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 4 additions and 17 deletions

View File

@ -1,14 +0,0 @@
From https://git.alpinelinux.org/aports/tree/community/ostree/missing-off-t.patch
diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
index 8fcd5e8..2454a58 100644
--- a/src/libostree/ostree-sysroot-deploy.c
+++ b/src/libostree/ostree-sysroot-deploy.c
@@ -2536,7 +2536,7 @@ get_kernel_layout_size (OstreeSysroot *self, OstreeDeployment *deployment, guint
/* This is a roundabout but more trustworthy way of doing a space check than
* relying on statvfs's f_bfree when you know the size of the objects. */
static gboolean
-dfd_fallocate_check (int dfd, __off_t len, gboolean *out_passed, GError **error)
+dfd_fallocate_check (int dfd, off_t len, gboolean *out_passed, GError **error)
{
/* If the requested size is 0 then return early. Passing a 0 len to
* fallocate results in EINVAL */

View File

@ -1,7 +1,8 @@
# Template file for 'ostree'
pkgname=ostree
version=2023.4
revision=1
reverts="2023.4_1"
version=2023.3
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="
@ -20,7 +21,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=7cee8ace6aae3c778527927a85abefbfbd491c021f52ae229c51ca3077f9c5d1
checksum=9c575a094da2c307769f0aee15de95470c3b5550cbff211fbbc4f6fc75f333b1
build_options="gir"
build_options_default="gir"