diff options
Diffstat (limited to 'www/firefox/files/patch-python-psutil-psutil-_psutil_bsd.c')
-rw-r--r-- | www/firefox/files/patch-python-psutil-psutil-_psutil_bsd.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/firefox/files/patch-python-psutil-psutil-_psutil_bsd.c b/www/firefox/files/patch-python-psutil-psutil-_psutil_bsd.c new file mode 100644 index 000000000000..3eddeeec9238 --- /dev/null +++ b/www/firefox/files/patch-python-psutil-psutil-_psutil_bsd.c @@ -0,0 +1,13 @@ +--- python/psutil/psutil/_psutil_bsd.c.orig 2012-08-16 23:07:37.000000000 +0800 ++++ python/psutil/psutil/_psutil_bsd.c 2012-09-27 14:50:20.843763756 +0800 +@@ -1376,8 +1376,10 @@ + strlcat(opts, ",noclusterr", sizeof(opts)); + if (flags & MNT_NOCLUSTERW) + strlcat(opts, ",noclusterw", sizeof(opts)); ++#if __FreeBSD_version >= 800000 + if (flags & MNT_NFS4ACLS) + strlcat(opts, ",nfs4acls", sizeof(opts)); ++#endif + + py_tuple = Py_BuildValue("(ssss)", fs[i].f_mntfromname, // device + fs[i].f_mntonname, // mount point |