summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/fuse/files/fuse-2.9.3-prefix.patch')
-rw-r--r--sys-fs/fuse/files/fuse-2.9.3-prefix.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/sys-fs/fuse/files/fuse-2.9.3-prefix.patch b/sys-fs/fuse/files/fuse-2.9.3-prefix.patch
deleted file mode 100644
index 46d680a..0000000
--- a/sys-fs/fuse/files/fuse-2.9.3-prefix.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Index: fuse-2.9.3/lib/mount_util.c
-===================================================================
---- fuse-2.9.3.orig/lib/mount_util.c
-+++ fuse-2.9.3/lib/mount_util.c
-@@ -97,9 +97,9 @@ static int add_mount(const char *prognam
- if (res == 0) {
- sigprocmask(SIG_SETMASK, &oldmask, NULL);
- setuid(geteuid());
-- execl("/bin/mount", "/bin/mount", "--no-canonicalize", "-i",
-+ execl("@GENTOO_PORTAGE_EPREFIX@/usr/bin/mount", "@GENTOO_PORTAGE_EPREFIX@/usr/bin/mount", "--no-canonicalize", "-i",
- "-f", "-t", type, "-o", opts, fsname, mnt, NULL);
-- fprintf(stderr, "%s: failed to execute /bin/mount: %s\n",
-+ fprintf(stderr, "%s: failed to execute @GENTOO_PORTAGE_EPREFIX@/usr/bin/mount: %s\n",
- progname, strerror(errno));
- exit(1);
- }
-Index: fuse-2.9.3/util/mount_util.c
-===================================================================
---- fuse-2.9.3.orig/util/mount_util.c
-+++ fuse-2.9.3/util/mount_util.c
-@@ -97,9 +97,9 @@ static int add_mount(const char *prognam
- if (res == 0) {
- sigprocmask(SIG_SETMASK, &oldmask, NULL);
- setuid(geteuid());
-- execl("/bin/mount", "/bin/mount", "--no-canonicalize", "-i",
-+ execl("@GENTOO_PORTAGE_EPREFIX@/usr/bin/mount", "@GENTOO_PORTAGE_EPREFIX@/usr/bin/mount", "--no-canonicalize", "-i",
- "-f", "-t", type, "-o", opts, fsname, mnt, NULL);
-- fprintf(stderr, "%s: failed to execute /bin/mount: %s\n",
-+ fprintf(stderr, "%s: failed to execute @GENTOO_PORTAGE_EPREFIX@/usr/bin/mount: %s\n",
- progname, strerror(errno));
- exit(1);
- }