[153294] trunk/dports/fuse/osxfuse
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 28 08:45:24 PDT 2016
Revision: 153294
https://trac.macports.org/changeset/153294
Author: ryandesign at macports.org
Date: 2016-09-28 08:45:24 -0700 (Wed, 28 Sep 2016)
Log Message:
-----------
osxfuse: fix build on Snow Leopard and Lion
Resolves #52426
Modified Paths:
--------------
trunk/dports/fuse/osxfuse/Portfile
Added Paths:
-----------
trunk/dports/fuse/osxfuse/files/
trunk/dports/fuse/osxfuse/files/patch-support-mount_osxfuse-mount_osxfuse.c.diff
Modified: trunk/dports/fuse/osxfuse/Portfile
===================================================================
--- trunk/dports/fuse/osxfuse/Portfile 2016-09-28 15:31:02 UTC (rev 153293)
+++ trunk/dports/fuse/osxfuse/Portfile 2016-09-28 15:45:24 UTC (rev 153294)
@@ -121,6 +121,8 @@
}
}
+patchfiles patch-support-mount_osxfuse-mount_osxfuse.c.diff
+
use_configure no
build.cmd ./build.sh -t packagemanager
Added: trunk/dports/fuse/osxfuse/files/patch-support-mount_osxfuse-mount_osxfuse.c.diff
===================================================================
--- trunk/dports/fuse/osxfuse/files/patch-support-mount_osxfuse-mount_osxfuse.c.diff (rev 0)
+++ trunk/dports/fuse/osxfuse/files/patch-support-mount_osxfuse-mount_osxfuse.c.diff 2016-09-28 15:45:24 UTC (rev 153294)
@@ -0,0 +1,14 @@
+Fix build problem on Snow Leopard
+https://github.com/osxfuse/osxfuse/issues/318
+https://github.com/osxfuse/support/commit/598c9bbca5fa99903fbf47035edc8e731124758d
+--- support/mount_osxfuse/mount_osxfuse.c.orig 2016-08-22 16:10:38.000000000 -0500
++++ support/mount_osxfuse/mount_osxfuse.c 2016-09-28 10:38:18.000000000 -0500
+@@ -600,7 +600,7 @@
+ msg.msg_flags = 0;
+
+ cmsgp = CMSG_FIRSTHDR(&msg);
+- cmsgp->cmsg_len = CMSG_LEN(sizeof(fd));
++ cmsgp->cmsg_len = (socklen_t)CMSG_LEN(sizeof(fd));
+ cmsgp->cmsg_level = SOL_SOCKET;
+ cmsgp->cmsg_type = SCM_RIGHTS;
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160928/0514a9ba/attachment.html>
More information about the macports-changes
mailing list