diff options
Diffstat (limited to 'www/firefox/files/patch-bug778056')
-rw-r--r-- | www/firefox/files/patch-bug778056 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/www/firefox/files/patch-bug778056 b/www/firefox/files/patch-bug778056 deleted file mode 100644 index 9515b967764e..000000000000 --- a/www/firefox/files/patch-bug778056 +++ /dev/null @@ -1,21 +0,0 @@ ---- memory/mozalloc/mozalloc.cpp~ -+++ memory/mozalloc/mozalloc.cpp -@@ -19,6 +19,9 @@ - #if defined(XP_UNIX) - # include <unistd.h> // for valloc on *BSD - #endif //if defined(XP_UNIX) -+#if defined(__FreeBSD__) -+# include <malloc_np.h> // for malloc_usable_size -+#endif // if defined(__FreeBSD__) - - #if defined(XP_WIN) || (defined(XP_OS2) && defined(__declspec)) - # define MOZALLOC_EXPORT __declspec(dllexport) -@@ -210,7 +213,7 @@ moz_malloc_usable_size(void *ptr) - - #if defined(XP_MACOSX) - return malloc_size(ptr); --#elif defined(MOZ_MEMORY) || (defined(XP_LINUX) && !defined(ANDROID)) -+#elif defined(MOZ_MEMORY) || (defined(XP_LINUX) && !defined(ANDROID)) || defined(__FreeBSD__) - // Android bionic libc doesn't have malloc_usable_size. - return malloc_usable_size(ptr); - #elif defined(XP_WIN) |