svn commit: r495472 - in head/sysutils/beats: . files

Ryan Steinmetz zi at FreeBSD.org
Tue Mar 12 17:06:09 UTC 2019


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


More information about the svn-ports-all mailing list