diff options
author | girgen <girgen@FreeBSD.org> | 2016-12-13 18:25:45 +0800 |
---|---|---|
committer | girgen <girgen@FreeBSD.org> | 2016-12-13 18:25:45 +0800 |
commit | 2cbbe5b4bd7504fdebdf960f5c632d4a7962c267 (patch) | |
tree | ecf8c2486c1595ac56dea7a0dadedc2c6c12da27 | |
parent | 03140d7ba4f07afe213317feee2b04419eb5db64 (diff) | |
download | freebsd-ports-gnome-2cbbe5b4bd7504fdebdf960f5c632d4a7962c267.tar.gz freebsd-ports-gnome-2cbbe5b4bd7504fdebdf960f5c632d4a7962c267.tar.zst freebsd-ports-gnome-2cbbe5b4bd7504fdebdf960f5c632d4a7962c267.zip |
Fix build on 386 by adding upstreams fix
WWW: https://github.com/shirou/gopsutil/commit/e864f2a037bf2e2e62d20e2f132ab08e261b6e71
-rw-r--r-- | sysutils/metricbeat/files/patch-gopsutil | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/metricbeat/files/patch-gopsutil b/sysutils/metricbeat/files/patch-gopsutil new file mode 100644 index 000000000000..9541876d7f21 --- /dev/null +++ b/sysutils/metricbeat/files/patch-gopsutil @@ -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 { |