opnsense-ports/sysutils/ipfs-go/files/extra-patch-32bit
Franco Fichtner ab0c415e58 */*: sync with upstream
Taken from: FreeBSD
2015-11-07 09:50:56 +01:00

11 lines
489 B
Text

--- src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-reuseport/poll/poll_bsd.go.orig 2015-08-02 14:00:34 UTC
+++ src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-reuseport/poll/poll_bsd.go
@@ -21,7 +21,7 @@ func New(fd int) (p *Poller, err error)
}
p.event = syscall.Kevent_t{
- Ident: uint64(fd),
+ Ident: uint32(fd),
Filter: syscall.EVFILT_WRITE,
Flags: syscall.EV_ADD | syscall.EV_ENABLE | syscall.EV_ONESHOT,
Fflags: 0,