From d39d92427cf19e39875ec26ae210fabeb83cbef7 Mon Sep 17 00:00:00 2001 From: Florian Smeets Date: Tue, 19 Feb 2013 23:53:07 +0000 Subject: - update firefox to 19.0 - update firefox-esr, thunderbird, linux-firefox, linux-thunderbird to 17.0.3 - update linux-seamonkey to 2.16 - update nspr to 4.9.5 - update nss to 3.14.3 - add DuckDuckGo search plugin to firefox [1] - mark kompozer deprecated - clang fixes for www/libxul19 [2] Security: http://www.vuxml.org/freebsd/e3f0374a-7ad6-11e2-84cd-d43d7e0c7c02.html Submitted by: DuckDuckGo [1], dim [2] In collaboration with: Jan Beich --- www/firefox/files/patch-bug817267 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 www/firefox/files/patch-bug817267 (limited to 'www/firefox/files/patch-bug817267') diff --git a/www/firefox/files/patch-bug817267 b/www/firefox/files/patch-bug817267 new file mode 100644 index 000000000000..84c77f9e8ac5 --- /dev/null +++ b/www/firefox/files/patch-bug817267 @@ -0,0 +1,36 @@ +commit faafeb1 +Author: Jan Beich +Date: Sat Dec 1 21:25:24 2012 -0500 + + Bug 817267 - dirfd() is a macro on some BSDs, fix build there. r=yoric +--- + dom/system/OSFileConstants.cpp | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git dom/system/OSFileConstants.cpp dom/system/OSFileConstants.cpp +index 75a41dc..63fc6b1 100644 +--- dom/system/OSFileConstants.cpp ++++ dom/system/OSFileConstants.cpp +@@ -41,6 +41,11 @@ + #include "OSFileConstants.h" + #include "nsIOSFileConstantsService.h" + ++#if defined(__DragonFly__) || defined(__FreeBSD__) \ ++ || defined(__NetBSD__) || defined(__OpenBSD__) ++#define __dd_fd dd_fd ++#endif ++ + /** + * This module defines the basic libc constants (error numbers, open modes, + * etc.) used by OS.File and possibly other OS-bound JavaScript libraries. +@@ -383,8 +388,8 @@ static dom::ConstantSpec gLibcProperties[] = + { "OSFILE_OFFSETOF_DIRENT_D_TYPE", INT_TO_JSVAL(offsetof (struct dirent, d_type)) }, + #endif // defined(DT_UNKNOWN) + +- // Under MacOS X, |dirfd| is a macro rather than a function, so we +- // need a little help to get it to work ++ // Under MacOS X and BSDs, |dirfd| is a macro rather than a ++ // function, so we need a little help to get it to work + #if defined(dirfd) + { "OSFILE_SIZEOF_DIR", INT_TO_JSVAL(sizeof (DIR)) }, + -- cgit v1.2.3