aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2015-12-31 12:34:58 +0800
committerkoobs <koobs@FreeBSD.org>2015-12-31 12:34:58 +0800
commit1e2fd01f5c7ec0ebf344e68d360f2ce73aa6a6ec (patch)
tree0438dc212955d6c05228867f11a861c859f45a87 /sysutils
parent1214d229448936ccb3a5bb3f0b80a39fe1c3145d (diff)
downloadfreebsd-ports-gnome-1e2fd01f5c7ec0ebf344e68d360f2ce73aa6a6ec.tar.gz
freebsd-ports-gnome-1e2fd01f5c7ec0ebf344e68d360f2ce73aa6a6ec.tar.zst
freebsd-ports-gnome-1e2fd01f5c7ec0ebf344e68d360f2ce73aa6a6ec.zip
sysutils/fusefs-libs: Remove duplicate patch hunks
Remove duplicate hanks in patches introduced in r404898 [1] https://svnweb.freebsd.org/changeset/ports/404898 PR: 205620 Reviewed by: miwi (original committer) Approved by: blanket (portmgr)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fusefs-libs/files/patch-configure.ac12
-rw-r--r--sysutils/fusefs-libs/files/patch-lib_mount__bsd.c77
-rw-r--r--sysutils/fusefs-libs/files/patch-lib_mount__util.c23
-rw-r--r--sysutils/fusefs-libs/files/patch-lib_mount__util.h7
4 files changed, 0 insertions, 119 deletions
diff --git a/sysutils/fusefs-libs/files/patch-configure.ac b/sysutils/fusefs-libs/files/patch-configure.ac
index ab5e3a948a16..375cb9351bcf 100644
--- a/sysutils/fusefs-libs/files/patch-configure.ac
+++ b/sysutils/fusefs-libs/files/patch-configure.ac
@@ -8,15 +8,3 @@
+AM_INIT_AUTOMAKE([subdir-objects])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
AC_CONFIG_HEADERS(include/config.h)
-
---- configure.ac.orig 2015-05-22 09:24:02 UTC
-+++ configure.ac
-@@ -3,7 +3,7 @@ AC_INIT(fuse, 2.9.4)
- AC_PREREQ(2.59d)
- AC_CONFIG_MACRO_DIR([m4])
- AC_CANONICAL_TARGET
--AM_INIT_AUTOMAKE
-+AM_INIT_AUTOMAKE([subdir-objects])
- m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
- AC_CONFIG_HEADERS(include/config.h)
-
diff --git a/sysutils/fusefs-libs/files/patch-lib_mount__bsd.c b/sysutils/fusefs-libs/files/patch-lib_mount__bsd.c
index e8536a6ce028..765ec8fb8159 100644
--- a/sysutils/fusefs-libs/files/patch-lib_mount__bsd.c
+++ b/sysutils/fusefs-libs/files/patch-lib_mount__bsd.c
@@ -75,80 +75,3 @@
close(fd);
}
---- lib/mount_bsd.c.orig 2015-05-22 09:24:02 UTC
-+++ lib/mount_bsd.c
-@@ -10,6 +10,8 @@
- #include "fuse_misc.h"
- #include "fuse_opt.h"
-
-+#include <sys/param.h>
-+#include <sys/mount.h>
- #include <sys/stat.h>
- #include <sys/wait.h>
- #include <sys/sysctl.h>
-@@ -78,6 +80,7 @@ static const struct fuse_opt fuse_mount_
- FUSE_DUAL_OPT_KEY("ro", KEY_KERN),
- FUSE_DUAL_OPT_KEY("rw", KEY_KERN),
- FUSE_DUAL_OPT_KEY("auto", KEY_KERN),
-+ FUSE_DUAL_OPT_KEY("automounted", KEY_KERN),
- /* options supported under both Linux and FBSD */
- FUSE_DUAL_OPT_KEY("allow_other", KEY_KERN),
- FUSE_DUAL_OPT_KEY("default_permissions",KEY_KERN),
-@@ -192,56 +195,12 @@ void fuse_unmount_compat22(const char *m
- free(umount_cmd);
- }
-
--static void do_unmount(char *dev, int fd)
--{
-- char device_path[SPECNAMELEN + 12];
-- const char *argv[4];
-- const char umount_cmd[] = "/sbin/umount";
-- pid_t pid;
--
-- snprintf(device_path, SPECNAMELEN + 12, _PATH_DEV "%s", dev);
--
-- argv[0] = umount_cmd;
-- argv[1] = "-f";
-- argv[2] = device_path;
-- argv[3] = NULL;
--
-- pid = fork();
--
-- if (pid == -1)
-- return;
--
-- if (pid == 0) {
-- close(fd);
-- execvp(umount_cmd, (char **)argv);
-- exit(1);
-- }
--
-- waitpid(pid, NULL, 0);
--}
--
- void fuse_kern_unmount(const char *mountpoint, int fd)
- {
- char *ep, dev[128];
- struct stat sbuf;
-
-- (void)mountpoint;
--
-- if (fstat(fd, &sbuf) == -1)
-- goto out;
--
-- devname_r(sbuf.st_rdev, S_IFCHR, dev, 128);
--
-- if (strncmp(dev, "fuse", 4))
-- goto out;
--
-- strtol(dev + 4, &ep, 10);
-- if (*ep != '\0')
-- goto out;
--
-- do_unmount(dev, fd);
--
--out:
-+ unmount(mountpoint, MNT_FORCE);
- close(fd);
- }
-
diff --git a/sysutils/fusefs-libs/files/patch-lib_mount__util.c b/sysutils/fusefs-libs/files/patch-lib_mount__util.c
index 8c4588998525..1d6a5db2a488 100644
--- a/sysutils/fusefs-libs/files/patch-lib_mount__util.c
+++ b/sysutils/fusefs-libs/files/patch-lib_mount__util.c
@@ -21,26 +21,3 @@
- fclose(f);
- return 0;
-}
---- lib/mount_util.c.orig 2015-05-22 09:24:02 UTC
-+++ lib/mount_util.c
-@@ -344,20 +344,3 @@ int fuse_mnt_check_empty(const char *pro
- }
- return 0;
- }
--
--int fuse_mnt_check_fuseblk(void)
--{
-- char buf[256];
-- FILE *f = fopen("/proc/filesystems", "r");
-- if (!f)
-- return 1;
--
-- while (fgets(buf, sizeof(buf), f))
-- if (strstr(buf, "fuseblk\n")) {
-- fclose(f);
-- return 1;
-- }
--
-- fclose(f);
-- return 0;
--}
diff --git a/sysutils/fusefs-libs/files/patch-lib_mount__util.h b/sysutils/fusefs-libs/files/patch-lib_mount__util.h
index 34b778cfe6f8..07865d839d77 100644
--- a/sysutils/fusefs-libs/files/patch-lib_mount__util.h
+++ b/sysutils/fusefs-libs/files/patch-lib_mount__util.h
@@ -5,10 +5,3 @@
int fuse_mnt_check_empty(const char *progname, const char *mnt,
mode_t rootmode, off_t rootsize);
-int fuse_mnt_check_fuseblk(void);
---- lib/mount_util.h.orig 2015-05-22 09:24:02 UTC
-+++ lib/mount_util.h
-@@ -16,4 +16,3 @@ int fuse_mnt_umount(const char *progname
- char *fuse_mnt_resolve_path(const char *progname, const char *orig);
- int fuse_mnt_check_empty(const char *progname, const char *mnt,
- mode_t rootmode, off_t rootsize);
--int fuse_mnt_check_fuseblk(void);