git: f9b6eae26cb3 - main - sysutils/xen-guest-tools: fix build on i386

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Mon, 13 Mar 2023 13:41:13 UTC
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f9b6eae26cb3f5c77977b0d9009a8eaf1e606684

commit f9b6eae26cb3f5c77977b0d9009a8eaf1e606684
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-03-13 13:41:00 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-03-13 13:41:00 +0000

    sysutils/xen-guest-tools: fix build on i386
---
 sysutils/xen-guest-tools/files/patch-xenstored_control.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sysutils/xen-guest-tools/files/patch-xenstored_control.c b/sysutils/xen-guest-tools/files/patch-xenstored_control.c
new file mode 100644
index 000000000000..3aec3bbb7395
--- /dev/null
+++ b/sysutils/xen-guest-tools/files/patch-xenstored_control.c
@@ -0,0 +1,11 @@
+--- tools/xenstore/xenstored_control.c.orig	2022-04-12 12:21:23 UTC
++++ tools/xenstore/xenstored_control.c
+@@ -537,7 +537,7 @@ static const char *lu_reject_reason(const void *ctx)
+ 			ret = talloc_asprintf(ctx, "%s\nDomain %u: %ld s",
+ 					      ret ? : "Domains with long running transactions:",
+ 					      conn->id,
+-					      now - conn->ta_start_time);
++					      (long)(now - conn->ta_start_time));
+ 		}
+ 	}
+