summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-toolkit_components_osfile_modules_osfile__unix__front.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-toolkit_components_osfile_modules_osfile__unix__front.jsm')
-rw-r--r--www/firefox52/patches/patch-toolkit_components_osfile_modules_osfile__unix__front.jsm13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-toolkit_components_osfile_modules_osfile__unix__front.jsm b/www/firefox52/patches/patch-toolkit_components_osfile_modules_osfile__unix__front.jsm
new file mode 100644
index 00000000000..cc49925fe9d
--- /dev/null
+++ b/www/firefox52/patches/patch-toolkit_components_osfile_modules_osfile__unix__front.jsm
@@ -0,0 +1,13 @@
+$NetBSD: patch-toolkit_components_osfile_modules_osfile__unix__front.jsm,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+--- toolkit/components/osfile/modules/osfile_unix_front.jsm.orig 2016-05-12 17:13:27.000000000 +0000
++++ toolkit/components/osfile/modules/osfile_unix_front.jsm
+@@ -399,7 +399,7 @@
+ throw_on_negative("statvfs", (UnixFile.statvfs || UnixFile.statfs)(sourcePath, fileSystemInfoPtr));
+
+ let bytes = new Type.uint64_t.implementation(
+- fileSystemInfo.f_bsize * fileSystemInfo.f_bavail);
++ fileSystemInfo.f_frsize * fileSystemInfo.f_bavail);
+
+ return bytes.value;
+ };