Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2019 17:06:08 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495472 - in head/sysutils/beats: . files
Message-ID:  <201903121706.x2CH68On059934@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Tue Mar 12 17:06:08 2019
New Revision: 495472
URL: https://svnweb.freebsd.org/changeset/ports/495472

Log:
  - Fix build with go 1.12

Added:
  head/sysutils/beats/files/patch-vendor_github.com_docker_docker_pkg_system_mknod.go   (contents, props changed)
Modified:
  head/sysutils/beats/Makefile

Modified: head/sysutils/beats/Makefile
==============================================================================
--- head/sysutils/beats/Makefile	Tue Mar 12 16:56:54 2019	(r495471)
+++ head/sysutils/beats/Makefile	Tue Mar 12 17:06:08 2019	(r495472)
@@ -12,8 +12,6 @@ COMMENT=	Collect logs locally and send to remote logst
 
 LICENSE=	APACHE20
 
-BROKEN_i386=	fails to build
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	elastic
 

Added: head/sysutils/beats/files/patch-vendor_github.com_docker_docker_pkg_system_mknod.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/beats/files/patch-vendor_github.com_docker_docker_pkg_system_mknod.go	Tue Mar 12 17:06:08 2019	(r495472)
@@ -0,0 +1,11 @@
+--- vendor/github.com/docker/docker/pkg/system/mknod.go.orig	2019-03-12 15:33:33 UTC
++++ vendor/github.com/docker/docker/pkg/system/mknod.go
+@@ -9,7 +9,7 @@ import (
+ // Mknod creates a filesystem node (file, device special file or named pipe) named path
+ // with attributes specified by mode and dev.
+ func Mknod(path string, mode uint32, dev int) error {
+-	return syscall.Mknod(path, mode, dev)
++	return syscall.Mknod(path, mode, uint64(dev))
+ }
+ 
+ // Mkdev is used to build the value of linux devices (in /dev/) which specifies major



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