1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 17:55:15 +03:00
aports/testing/snapper/fix-32bit-build.patch
2021-04-19 09:05:03 +00:00

36 lines
1.2 KiB
Diff

From 52529494c827e7d4045a5ee368331b67c0be5364 Mon Sep 17 00:00:00 2001
From: Arvin Schnell <aschnell@suse.de>
Date: Mon, 19 Apr 2021 09:57:59 +0200
Subject: [PATCH] - fix build on 32 bit musl systems
---
client/cleanup.cc | 2 +-
package/snapper.changes | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/client/cleanup.cc b/client/cleanup.cc
index 801c0f55..e57a0a80 100644
--- a/client/cleanup.cc
+++ b/client/cleanup.cc
@@ -51,7 +51,7 @@ struct Parameters
MinFreeLimit free_limit;
- void read(const ProxyConfig& config, const char* name, long int& value)
+ void read(const ProxyConfig& config, const char* name, time_t& value)
{
const map<string, string>& raw = config.getAllValues();
map<string, string>::const_iterator pos = raw.find(name);
diff --git a/package/snapper.changes b/package/snapper.changes
index 0f61ba77..684eafd0 100644
--- a/package/snapper.changes
+++ b/package/snapper.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Mon Apr 19 09:56:40 CEST 2021 - aschnell@suse.com
+
+- fix build on 32 bit musl systems (gh#openSUSE/snapper#644)
+
-------------------------------------------------------------------
Fri Apr 09 15:23:14 CEST 2021 - aschnell@suse.com