diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-29 16:02:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-29 16:38:44 +0000 |
commit | 95489293ef40dfd46498b08f2dfb3b6fa1c288ec (patch) | |
tree | 5a4391756bb5fbe4172b852add03e1086b74f64b /main/firefox/stat.patch | |
parent | ee754870689436f39cc3500b4d3af63435fb0eb3 (diff) | |
download | aports-95489293ef40dfd46498b08f2dfb3b6fa1c288ec.tar.bz2 aports-95489293ef40dfd46498b08f2dfb3b6fa1c288ec.tar.xz |
main/firefox: upgrade to 31.2.0 esr
dont build xulrunner separately
Diffstat (limited to 'main/firefox/stat.patch')
-rw-r--r-- | main/firefox/stat.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/firefox/stat.patch b/main/firefox/stat.patch new file mode 100644 index 0000000000..ed7dc007e2 --- /dev/null +++ b/main/firefox/stat.patch @@ -0,0 +1,25 @@ +--- ./dom/system/OSFileConstants.cpp.orig 2013-04-17 06:17:29.798371189 +0000 ++++ ./dom/system/OSFileConstants.cpp 2013-04-17 06:30:30.032285977 +0000 +@@ -509,6 +509,11 @@ + INT_CONSTANT(_STAT_VER), + #endif // defined(_STAT_VER) + ++ // glibc's stat/lstat/fstat are macros while uclibc's are not ++#if defined(__GLIBC__) && !defined(__UCLIBC__) ++ { "OSFILE_STAT_MACROS", INT_TO_JSVAL(1) }, ++#endif // defined(stat) ++ + PROP_END + }; + +--- ./toolkit/components/osfile/modules/osfile_unix_back.jsm.orig 2014-04-03 13:08:26.686409787 +0000 ++++ ./toolkit/components/osfile/modules/osfile_unix_back.jsm 2014-04-03 13:34:14.101716259 +0000 +@@ -512,7 +512,7 @@ + /*path*/ Type.fd, + /*buf*/ Type.stat.out_ptr + ); +- } else if (Const._STAT_VER != undefined) { ++ } else if (Const.OSFILE_STAT_MACROS != undefined) { + const ver = Const._STAT_VER; + let xstat_name, lxstat_name, fxstat_name; + if (OS.Constants.Sys.Name == "SunOS") { |