snapper: update to 0.12.2

This commit is contained in:
elbachir-one 2025-08-03 17:29:31 +01:00 committed by Duncan Overbruck
parent c6b1e6e547
commit bec557140d
2 changed files with 2 additions and 29 deletions

View file

@ -1,27 +0,0 @@
From d103eaeae169708ca567f092182a89b79e5ab9db Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 20 Oct 2024 07:52:33 -0700
Subject: [PATCH] Include linux/types.h for __u16/__u32/__u64 type
This header is included indirectly with glibc but when using musl
it ends up with compilation failure
BcachefsUtils.cc:85:20: error: use of undeclared identifier '__u32'
85 | args.dirfd = (__u32) fddst;
| ^
---
snapper/BcachefsUtils.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/snapper/BcachefsUtils.cc b/snapper/BcachefsUtils.cc
index e9163ffb..1d328a78 100644
--- a/snapper/BcachefsUtils.cc
+++ b/snapper/BcachefsUtils.cc
@@ -24,6 +24,7 @@
#include <cstring>
#include <cerrno>
+#include <linux/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>

View file

@ -1,6 +1,6 @@
# Template file for 'snapper'
pkgname=snapper
version=0.11.2
version=0.12.2
revision=1
build_style=gnu-configure
configure_args="--disable-zypp --disable-systemd --with-conf=/etc/conf.d"
@ -17,7 +17,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://snapper.io"
distfiles="https://github.com/openSUSE/snapper/archive/v${version}.tar.gz"
checksum=d2a33935f94f30b22aecbdfdecccf651b3616fa698aec266646a9d06043bfd6f
checksum=0b902c9e6e4917ae035b60d20166b176e417718b9a853534fff057b14a2cbff8
lib32disabled=yes
if [ "$XBPS_TARGET_LIBC" = musl ]