2 http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/glib2/patches/patch-gio_gunixmount_c?rev=1.19&content-type=text/plain
4 to make unmount work for non-root users since our transition to Gnome 3
6 --- a/gio/gunixmount.c 2020-10-22 12:50:57.295707505 -0700
7 +++ b/gio/gunixmount.c 2020-10-22 14:51:46.852693272 -0700
11 GUnixMount *unix_mount = G_UNIX_MOUNT (mount);
12 - char *argv[] = {"umount", NULL, NULL};
13 + char *argv[] = {"/usr/bin/pfexec", "/usr/bin/rmumount", NULL, NULL};
15 - if (unix_mount->mount_path != NULL)
16 - argv[1] = unix_mount->mount_path;
18 - argv[1] = unix_mount->device_path;
19 + argv[2] = unix_mount->device_path;
21 eject_unmount_do (mount, cancellable, callback, user_data, argv);