mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
- The mount checkpoint was changed in previous update to r230226.
- This patch fixed mount_fusefs to use new path. - Bump PORTREVISION PR: ports/164218 Submitted by: jh@ Approved by: Edward Sanford Sutton, III <mirror176@cox.net> (maintainer), gabor (mentor)
This commit is contained in:
parent
8750cf2e2b
commit
5c81e5925e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291284
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= fusefs
|
||||
DISTVERSION= 0.3.9-pre1.20080208
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= sysutils kld
|
||||
MASTER_SITES= http://mercurial.creo.hu/repos/fuse4bsd-hg/index.cgi/archive/
|
||||
PKGNAMESUFFIX= -kmod
|
||||
|
@ -0,0 +1,23 @@
|
||||
--- mount_fusefs/mount_fusefs.c 2008-02-05 07:25:57.000000000 +0200
|
||||
+++ mount_fusefs/mount_fusefs.c 2012-01-07 21:07:35.000000000 +0200
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <getopt.h>
|
||||
#include <libgen.h>
|
||||
#include <limits.h>
|
||||
+#include <osreldate.h>
|
||||
#include <paths.h>
|
||||
|
||||
#include "fuse4bsd.h"
|
||||
@@ -312,7 +313,12 @@
|
||||
* Resolve the mountpoint with realpath(3) and remove unnecessary
|
||||
* slashes from the devicename if there are any.
|
||||
*/
|
||||
+#if __FreeBSD_version >= 1000005
|
||||
+ if (checkpath(dir, mntpath) != 0)
|
||||
+ err(1, "%s", mntpath);
|
||||
+#else
|
||||
(void)checkpath(dir, mntpath);
|
||||
+#endif
|
||||
(void)rmslashes(dev, dev);
|
||||
|
||||
if (strcmp(dev, "auto") == 0)
|
Loading…
Reference in New Issue
Block a user