svn commit: r428474 - head/sysutils/metricbeat/files
Palle Girgensohn
girgen at FreeBSD.org
Tue Dec 13 10:25:46 UTC 2016
Author: girgen
Date: Tue Dec 13 10:25:45 2016
New Revision: 428474
URL: https://svnweb.freebsd.org/changeset/ports/428474
Log:
Fix build on 386 by adding upstreams fix
WWW: https://github.com/shirou/gopsutil/commit/e864f2a037bf2e2e62d20e2f132ab08e261b6e71
Added:
head/sysutils/metricbeat/files/patch-gopsutil (contents, props changed)
Added: head/sysutils/metricbeat/files/patch-gopsutil
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/metricbeat/files/patch-gopsutil Tue Dec 13 10:25:45 2016 (r428474)
@@ -0,0 +1,22 @@
+--- ../src/github.com/elastic/beats/vendor/github.com/shirou/gopsutil/disk/disk_freebsd_386.go.orig 2016-12-13 11:17:18.930219000 +0100
++++ ../src/github.com/elastic/beats/vendor/github.com/shirou/gopsutil/disk/disk_freebsd_386.go 2016-12-13 11:17:23.015481000 +0100
+@@ -39,6 +39,10 @@
+ MNT_SUSPEND = 4
+ )
+
++const (
++ sizeOfDevstat = 0xf0
++)
++
+ type (
+ _C_short int16
+ _C_int int32
+@@ -95,7 +99,7 @@
+ Flags uint32
+ Device_type uint32
+ Priority uint32
+- ID *byte
++ Id *byte
+ Sequence1 uint32
+ }
+ type Bintime struct {
More information about the svn-ports-head
mailing list