Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2026 00:56:45 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e665c2bc9970 - main - devel/gitaly: fix build on armv7
Message-ID:  <69f54bcd.3754c.3282fa28@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

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

commit e665c2bc9970aebba5a2a021092b0ca753204f84
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-05-02 00:18:46 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-05-02 00:32:42 +0000

    devel/gitaly: fix build on armv7
    
    Apparently these are not int64 on 32-bit platforms.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q2
---
 devel/gitaly/files/patch-internal_command_command.go | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/devel/gitaly/files/patch-internal_command_command.go b/devel/gitaly/files/patch-internal_command_command.go
new file mode 100644
index 000000000000..91ea4f00a910
--- /dev/null
+++ b/devel/gitaly/files/patch-internal_command_command.go
@@ -0,0 +1,17 @@
+--- internal/command/command.go.orig	2026-05-02 00:01:37 UTC
++++ internal/command/command.go
+@@ -738,10 +738,10 @@ func (c *Command) logProcessComplete() {
+ 
+ 	if ok {
+ 		attributes = append(attributes,
+-			attribute.Int64("inblock", rusage.Inblock),
+-			attribute.Int64("oublock", rusage.Oublock),
+-			attribute.Int64("minflt", rusage.Minflt),
+-			attribute.Int64("majflt", rusage.Majflt),
++			attribute.Int64("inblock", int64(rusage.Inblock)),
++			attribute.Int64("oublock", int64(rusage.Oublock)),
++			attribute.Int64("minflt", int64(rusage.Minflt)),
++			attribute.Int64("majflt", int64(rusage.Majflt)),
+ 		)
+ 	}
+ 	attributes = append(attributes, attribute.Int64("maxrssanon_bytes", c.maxRssAnon.Load()))


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f54bcd.3754c.3282fa28>