mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 02:30:44 -04:00
- Pass maintainership to submitter The SourceForge mirror has gone due to the project migrating to GitHub. The only changes made to the port were to build the package from the sources now provided from the GitHub releases. Due to slight changes to the build process (adding missing dependency declarations, generating a configure script ourselves, new master site), and due to the fact there are many packages dependent on this port, the PORTREVISION has been incremented just in case there are any incompatibilities even though the version has allegedly not been changed. PR: 205620 Submitted by: Brendan Molloy
46 lines
828 B
C
46 lines
828 B
C
--- 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;
|
|
-}
|
|
--- 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;
|
|
-}
|