Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 10:25:45 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428474 - head/sysutils/metricbeat/files
Message-ID:  <201612131025.uBDAPjqj057724@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612131025.uBDAPjqj057724>