FreeBSD Bugzilla – Attachment 235811 Details for
Bug 258056
lang/go118: musn't poll /dev/fuse
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rclone-1.59.0_3.diff
rclone.diff (text/plain), 1.06 KB, created by
Dmitri Goutnik
on 2022-08-09 17:35:40 UTC
(
hide
)
Description:
rclone-1.59.0_3.diff
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2022-08-09 17:35:40 UTC
Size:
1.06 KB
patch
obsolete
>diff --git a/net/rclone/Makefile b/net/rclone/Makefile >index 56b5edde8dab..82fb0be342df 100644 >--- a/net/rclone/Makefile >+++ b/net/rclone/Makefile >@@ -1,7 +1,7 @@ > PORTNAME= rclone > DISTVERSIONPREFIX= v > DISTVERSION= 1.59.0 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= net > > MAINTAINER= tremere@cainites.net >diff --git a/net/rclone/files/patch-vendor_bazil.org_fuse_mount__freebsd.go b/net/rclone/files/patch-vendor_bazil.org_fuse_mount__freebsd.go >new file mode 100644 >index 000000000000..6e65abfd799a >--- /dev/null >+++ b/net/rclone/files/patch-vendor_bazil.org_fuse_mount__freebsd.go >@@ -0,0 +1,15 @@ >+--- vendor/bazil.org/fuse/mount_freebsd.go.orig 2022-08-09 15:43:51 UTC >++++ vendor/bazil.org/fuse/mount_freebsd.go >+@@ -56,10 +56,11 @@ func mount(dir string, conf *mountConfig) (*os.File, e >+ } >+ } >+ >+- f, err := os.OpenFile("/dev/fuse", os.O_RDWR, 0o000) >++ fd, err := syscall.Open("/dev/fuse", os.O_RDWR|syscall.O_CLOEXEC, 0o000) >+ if err != nil { >+ return nil, err >+ } >++ f := os.NewFile(uintptr(fd), "/dev/fuse") >+ >+ cmd := exec.Command( >+ "/sbin/mount_fusefs",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tremere
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 258056
:
235480
|
235481
|
235506
|
235792
| 235811