From 2f4c3550c50b8b9afa1652eff05e983b4e0d3f51 Mon Sep 17 00:00:00 2001 From: Florian Smeets Date: Thu, 30 Aug 2012 14:54:17 +0000 Subject: - update firefox and thunderbird to 15.0 - update firefox-esr, thunderbird-esr, linux-thunderbird and linux-firefox to 10.0.7 - update seamonkey and linux-seamonkey to 2.12 - update nss to 3.13.6 - update bsdipc code (posix_spawn, SysV shared memory) - rename patches to easily track those not (yet) submitted upstream - reduce package size, except for www/libxul[1] - restore default objdir to what it was in 13.0 - fix mail/enigmail after thunderbird build changes - don't accidentally pick up headers from installed ports[3] - add support for PREFIX != LOCALBASE to Makefile.webplugins [4] - document vulnerabilities in vuln.xml - *miscellaneous cleanups and fixups* Obtained from: OpenBSD ports[1] PR: ports/159831, ports/160933, ports/170467[3], ports/170236 [4] Submitted by: avilla [4] In collaboration with: Jan Beich Who did most of the hard work. --- mail/thunderbird-esr/files/patch-bug778056 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 mail/thunderbird-esr/files/patch-bug778056 (limited to 'mail/thunderbird-esr/files/patch-bug778056') diff --git a/mail/thunderbird-esr/files/patch-bug778056 b/mail/thunderbird-esr/files/patch-bug778056 new file mode 100644 index 000000000000..2a792aba9aa0 --- /dev/null +++ b/mail/thunderbird-esr/files/patch-bug778056 @@ -0,0 +1,21 @@ +--- mozilla/memory/mozalloc/mozalloc.cpp~ ++++ mozilla/memory/mozalloc/mozalloc.cpp +@@ -52,6 +52,9 @@ + #if defined(XP_UNIX) + # include // for valloc on *BSD + #endif //if defined(XP_UNIX) ++#ifdef __FreeBSD__ ++# include // for malloc_usable_size ++#endif + + #if defined(MOZ_MEMORY) + // jemalloc.h doesn't redeclare symbols if they're provided by the OS +@@ -259,7 +262,7 @@ moz_malloc_usable_size(void *ptr) + + #if defined(XP_MACOSX) + return malloc_size(ptr); +-#elif defined(MOZ_MEMORY) ++#elif defined(MOZ_MEMORY) || defined(__FreeBSD__) + return malloc_usable_size(ptr); + #elif defined(XP_WIN) + return _msize(ptr); -- cgit v1.2.3