From owner-freebsd-gecko@FreeBSD.ORG Fri Mar 1 05:12:11 2013 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8889FCFB for ; Fri, 1 Mar 2013 05:12:11 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id C322C817 for ; Fri, 1 Mar 2013 05:12:10 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.4/8.14.3) with ESMTP id r215C3YT015891 for ; Fri, 1 Mar 2013 05:12:03 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.4/8.14.3/Submit) id r215BvlC009534 for freebsd-gecko@freebsd.org; Fri, 1 Mar 2013 05:11:57 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Fri, 1 Mar 2013 05:11:57 GMT Message-Id: <201303010511.r215BvlC009534@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r1195 - in trunk: . Mk mail/thunderbird-esr/files mail/thunderbird/files security/nss www/firefox www/firefox-esr www/firefox-esr/files www/firefox-nightly www/firefox-nightly/files www/firefox/files www/libxul/files www/seamonkey/files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 05:12:11 -0000 Author: jbeich Date: Fri Mar 1 05:11:57 2013 New Revision: 1195 Log: prune legacy support for FreeBSD < 8.3/9.0 Deleted: trunk/mail/thunderbird-esr/files/patch-mozilla-content-media-nsAudioStream.cpp trunk/mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp trunk/mail/thunderbird/files/patch-mozilla-gfx-ots-include-opentype-sanitiser.h trunk/mail/thunderbird/files/patch-mozilla-ipc-chromium-src-base-platform_thread_posix.cc trunk/mail/thunderbird/files/patch-mozilla-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebind_linux.cc trunk/mail/thunderbird/files/patch-mozilla-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc trunk/mail/thunderbird/files/patch-mozilla-python-psutil-psutil-_psutil_bsd.c trunk/www/firefox-esr/files/patch-content-media-nsAudioStream.cpp trunk/www/firefox-nightly/files/patch-content-media-AudioStream.cpp trunk/www/firefox-nightly/files/patch-gfx-ots-include-opentype-sanitiser.h trunk/www/firefox-nightly/files/patch-ipc-chromium-src-base-platform_thread_posix.cc trunk/www/firefox-nightly/files/patch-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebindingsymboltable_linux.cc trunk/www/firefox-nightly/files/patch-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc trunk/www/firefox-nightly/files/patch-python-psutil-psutil-_psutil_bsd.c trunk/www/firefox/files/patch-content-media-AudioStream.cpp trunk/www/firefox/files/patch-gfx-ots-include-opentype-sanitiser.h trunk/www/firefox/files/patch-ipc-chromium-src-base-platform_thread_posix.cc trunk/www/firefox/files/patch-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebindingsymboltable_linux.cc trunk/www/firefox/files/patch-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc trunk/www/firefox/files/patch-python-psutil-psutil-_psutil_bsd.c trunk/www/seamonkey/files/patch-mozilla-content-media-nsAudioStream.cpp trunk/www/seamonkey/files/patch-mozilla-gfx-ots-include-opentype-sanitiser.h trunk/www/seamonkey/files/patch-mozilla-ipc-chromium-src-base-platform_thread_posix.cc trunk/www/seamonkey/files/patch-mozilla-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebind_linux.cc trunk/www/seamonkey/files/patch-mozilla-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc trunk/www/seamonkey/files/patch-mozilla-python-psutil-psutil-_psutil_bsd.c Modified: trunk/Gecko_ChangeLog trunk/Mk/bsd.gecko.mk trunk/mail/thunderbird-esr/files/patch-bug753046 trunk/security/nss/Makefile trunk/www/firefox-esr/files/patch-bug753046 trunk/www/firefox-esr/pkg-message trunk/www/firefox-nightly/pkg-message trunk/www/firefox/pkg-message trunk/www/libxul/files/patch-bug753046 Modified: trunk/Gecko_ChangeLog ============================================================================== --- trunk/Gecko_ChangeLog Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/Gecko_ChangeLog Fri Mar 1 05:11:57 2013 (r1195) @@ -0,0 +1,3 @@ +20.0: +- prune support for old FreeBSD versions; users of 8.2, 7.4 or earlier + are advised to upgrade - http://www.freebsd.org/security/ Modified: trunk/Mk/bsd.gecko.mk ============================================================================== --- trunk/Mk/bsd.gecko.mk Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/Mk/bsd.gecko.mk Fri Mar 1 05:11:57 2013 (r1195) @@ -543,13 +543,7 @@ MOZ_OPTIONS+= --prefix="${FAKEDIR}" CPPFLAGS+= -isystem${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -.if ${OSVERSION} > 800072 -LDFLAGS+= -Wl,-z,origin -Wl,-rpath,\\\$$\$$ORIGIN -.else -LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH} -.endif +LDFLAGS+= -L${LOCALBASE}/lib -Wl,-z,origin -Wl,-rpath,\\\$$\$$ORIGIN .if ${MOZILLA_VER:R:R} >= 19 || ${MOZILLA:Mseamonkey*} # prefer clang @@ -1032,13 +1026,6 @@ ${TAR} cf - -C${FAKEDIR}/${dir} -s'|${FAKEDIR}|${PREFIX}|s' . | \ ${TAR} xof - -C${PREFIX}/${dir} .endfor -.if (${OSVERSION} < 800081 ) - # XXX: make sure bsdtar(1) corrected symlinks - ${FIND} ${FAKEDIR} -type l -exec \ - ${ECHO_CMD} stat -f \'${LN} -hfs \"%Y\" \"%N\"\' {} + | \ - ${SED} s'|${FAKEDIR}|${PREFIX}|g' | ${SH} | \ - ${SED} -n s'|${FAKEDIR}|${PREFIX}|p' | ${SH} -x -.endif .for pcfile in ${MOZ_PKGCONFIG_FILES} ${INSTALL_DATA} ${FAKEDIR}/libdata/pkgconfig/${pcfile}.pc \ ${PREFIX}/libdata/pkgconfig/${pcfile}.pc Modified: trunk/mail/thunderbird-esr/files/patch-bug753046 ============================================================================== --- trunk/mail/thunderbird-esr/files/patch-bug753046 Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/mail/thunderbird-esr/files/patch-bug753046 Fri Mar 1 05:11:57 2013 (r1195) @@ -460,7 +460,7 @@ --- mozilla/ipc/chromium/src/base/platform_thread_posix.cc.orig 2012-03-13 01:36:53.000000000 +0000 +++ mozilla/ipc/chromium/src/base/platform_thread_posix.cc -@@ -9,16 +9,30 @@ +@@ -9,16 +9,24 @@ #if defined(OS_MACOSX) #include @@ -474,13 +474,7 @@ -#include +#elif defined(OS_FREEBSD) +#include -+#if __FreeBSD_version > 802500 +#include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif #endif + +#if !defined(OS_MACOSX) Deleted: trunk/mail/thunderbird-esr/files/patch-mozilla-content-media-nsAudioStream.cpp ============================================================================== --- trunk/mail/thunderbird-esr/files/patch-mozilla-content-media-nsAudioStream.cpp Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,14 +0,0 @@ ---- mozilla/content/media/nsAudioStream.cpp~ -+++ mozilla/content/media/nsAudioStream.cpp -@@ -298,7 +298,11 @@ static int PrefChanged(const char* aPref - gVolumeScale = NS_MAX(0, PR_strtod(utf8.get(), nsnull)); - } - } else if (strcmp(aPref, PREF_USE_CUBEB) == 0) { -+#if defined(__FreeBSD__) && __FreeBSD_version < 800097 -+ bool value = Preferences::GetBool(aPref, false); -+#else - bool value = Preferences::GetBool(aPref, true); -+#endif - mozilla::MutexAutoLock lock(*gAudioPrefsLock); - gUseCubeb = value; - } else if (strcmp(aPref, PREF_CUBEB_LATENCY) == 0) { Deleted: trunk/mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp ============================================================================== --- trunk/mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,11 +0,0 @@ ---- mozilla/content/media/AudioStream.cpp~ -+++ mozilla/content/media/AudioStream.cpp -@@ -298,7 +298,7 @@ static int PrefChanged(const char* aPref, void* aClosure) - gVolumeScale = NS_MAX(0, PR_strtod(utf8.get(), nullptr)); - } - } else if (strcmp(aPref, PREF_USE_CUBEB) == 0) { --#ifdef MOZ_WIDGET_GONK -+#if defined(MOZ_WIDGET_GONK) || defined(__FreeBSD__) && __FreeBSD_version < 800097 - bool value = Preferences::GetBool(aPref, false); - #else - bool value = Preferences::GetBool(aPref, true); Deleted: trunk/mail/thunderbird/files/patch-mozilla-gfx-ots-include-opentype-sanitiser.h ============================================================================== --- trunk/mail/thunderbird/files/patch-mozilla-gfx-ots-include-opentype-sanitiser.h Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,18 +0,0 @@ -diff --git gfx/ots/include/opentype-sanitiser.h gfx/ots/include/opentype-sanitiser.h -index f42822e..1a5a699 100644 ---- mozilla/gfx/ots/include/opentype-sanitiser.h -+++ mozilla/gfx/ots/include/opentype-sanitiser.h -@@ -44,6 +44,13 @@ typedef unsigned __int64 uint64_t; - #include - #endif - -+#ifdef __FreeBSD__ -+# include -+# if __FreeBSD_version < 800067 -+# include // for off_t -+# endif -+#endif -+ - #include // for std::min - #include - #include Deleted: trunk/mail/thunderbird/files/patch-mozilla-ipc-chromium-src-base-platform_thread_posix.cc ============================================================================== --- trunk/mail/thunderbird/files/patch-mozilla-ipc-chromium-src-base-platform_thread_posix.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,16 +0,0 @@ ---- mozilla/ipc/chromium/src/base/platform_thread_posix.cc~ -+++ mozilla/ipc/chromium/src/base/platform_thread_posix.cc -@@ -16,7 +16,13 @@ - #include - #elif defined(OS_FREEBSD) - #include -+#if __FreeBSD_version > 802500 - #include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif - #endif - - #if !defined(OS_MACOSX) Deleted: trunk/mail/thunderbird/files/patch-mozilla-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebind_linux.cc ============================================================================== --- trunk/mail/thunderbird/files/patch-mozilla-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebind_linux.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,37 +0,0 @@ ---- mozilla/media/webrtc/trunk/src/modules/audio_device/main/source/linux/latebindingsymboltable_linux.cc~ -+++ mozilla/media/webrtc/trunk/src/modules/audio_device/main/source/linux/latebindingsymboltable_linux.cc -@@ -31,6 +31,10 @@ - #include - #endif - -+#ifdef __FreeBSD__ -+#include -+#endif -+ - // TODO(grunell): Either put inside webrtc namespace or use webrtc:: instead. - using namespace webrtc; - -@@ -38,7 +42,11 @@ namespace webrtc_adm_linux { - - inline static const char *GetDllError() { - #ifdef WEBRTC_LINUX -+#if __FreeBSD_version < 800505 -+ const char *err = dlerror(); -+#else - char *err = dlerror(); -+#endif - if (err) { - return err; - } else { -@@ -78,7 +86,11 @@ static bool LoadSymbol(DllHandle handle, - void **symbol) { - #ifdef WEBRTC_LINUX - *symbol = dlsym(handle, symbol_name); -+#if __FreeBSD_version < 800505 -+ const char *err = dlerror(); -+#else - char *err = dlerror(); -+#endif - if (err) { - WEBRTC_TRACE(kTraceError, kTraceAudioDevice, -1, - "Error loading symbol %s : %d", symbol_name, err); Deleted: trunk/mail/thunderbird/files/patch-mozilla-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc ============================================================================== --- trunk/mail/thunderbird/files/patch-mozilla-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,16 +0,0 @@ ---- mozilla/media/webrtc/trunk/src/system_wrappers/source/thread_posix.cc~ -+++ mozilla/media/webrtc/trunk/src/system_wrappers/source/thread_posix.cc -@@ -62,7 +62,13 @@ - #include - #elif defined(__FreeBSD__) - #include -+#if __FreeBSD_version > 802500 - #include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif - #endif - - #if defined(WEBRTC_BSD) && !defined(__NetBSD__) Deleted: trunk/mail/thunderbird/files/patch-mozilla-python-psutil-psutil-_psutil_bsd.c ============================================================================== --- trunk/mail/thunderbird/files/patch-mozilla-python-psutil-psutil-_psutil_bsd.c Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,13 +0,0 @@ ---- mozilla/python/psutil/psutil/_psutil_bsd.c.orig 2012-08-16 23:07:37.000000000 +0800 -+++ mozilla/python/psutil/psutil/_psutil_bsd.c 2012-09-27 14:50:20.843763756 +0800 -@@ -1376,8 +1376,10 @@ - strlcat(opts, ",noclusterr", sizeof(opts)); - if (flags & MNT_NOCLUSTERW) - strlcat(opts, ",noclusterw", sizeof(opts)); -+#if __FreeBSD_version >= 800000 - if (flags & MNT_NFS4ACLS) - strlcat(opts, ",nfs4acls", sizeof(opts)); -+#endif - - py_tuple = Py_BuildValue("(ssss)", fs[i].f_mntfromname, // device - fs[i].f_mntonname, // mount point Modified: trunk/security/nss/Makefile ============================================================================== --- trunk/security/nss/Makefile Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/security/nss/Makefile Fri Mar 1 05:11:57 2013 (r1195) @@ -58,10 +58,6 @@ .if defined(WITH_CLANG_IS_CC) || ${CC:Mcc} && ${OSVERSION} > 1000023 EXTRA_PATCHES+= ${FILESDIR}/extra-bug835050 .endif -.if ${CC:Mcc} && (${OSVERSION} >= 800000 && ${OSVERSION} < 802503 \ - || ${OSVERSION} < 704101) -USE_GCC?= yes # -mssse3 -.endif .endif check regression-test test: Modified: trunk/www/firefox-esr/files/patch-bug753046 ============================================================================== --- trunk/www/firefox-esr/files/patch-bug753046 Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/www/firefox-esr/files/patch-bug753046 Fri Mar 1 05:11:57 2013 (r1195) @@ -460,7 +460,7 @@ --- ipc/chromium/src/base/platform_thread_posix.cc.orig 2012-03-13 01:36:53.000000000 +0000 +++ ipc/chromium/src/base/platform_thread_posix.cc -@@ -9,16 +9,30 @@ +@@ -9,16 +9,24 @@ #if defined(OS_MACOSX) #include @@ -474,13 +474,7 @@ -#include +#elif defined(OS_FREEBSD) +#include -+#if __FreeBSD_version > 802500 +#include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif #endif + +#if !defined(OS_MACOSX) Deleted: trunk/www/firefox-esr/files/patch-content-media-nsAudioStream.cpp ============================================================================== --- trunk/www/firefox-esr/files/patch-content-media-nsAudioStream.cpp Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,14 +0,0 @@ ---- content/media/nsAudioStream.cpp~ -+++ content/media/nsAudioStream.cpp -@@ -298,7 +298,11 @@ static int PrefChanged(const char* aPref - gVolumeScale = NS_MAX(0, PR_strtod(utf8.get(), nsnull)); - } - } else if (strcmp(aPref, PREF_USE_CUBEB) == 0) { -+#if defined(__FreeBSD__) && __FreeBSD_version < 800097 -+ bool value = Preferences::GetBool(aPref, false); -+#else - bool value = Preferences::GetBool(aPref, true); -+#endif - mozilla::MutexAutoLock lock(*gAudioPrefsLock); - gUseCubeb = value; - } else if (strcmp(aPref, PREF_CUBEB_LATENCY) == 0) { Modified: trunk/www/firefox-esr/pkg-message ============================================================================== --- trunk/www/firefox-esr/pkg-message Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/www/firefox-esr/pkg-message Fri Mar 1 05:11:57 2013 (r1195) @@ -17,7 +17,7 @@ Firefox and HTML5 Certain functions used to display HTML5 elements need the sem module -on 7.x and 8.x releases. +only on 8.x releases. If your Firefox crashes with the following message while viewing a HTML5 page: Deleted: trunk/www/firefox-nightly/files/patch-content-media-AudioStream.cpp ============================================================================== --- trunk/www/firefox-nightly/files/patch-content-media-AudioStream.cpp Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,11 +0,0 @@ ---- content/media/AudioStream.cpp~ -+++ content/media/AudioStream.cpp -@@ -298,7 +298,7 @@ static int PrefChanged(const char* aPref, void* aClosure) - gVolumeScale = NS_MAX(0, PR_strtod(utf8.get(), nullptr)); - } - } else if (strcmp(aPref, PREF_USE_CUBEB) == 0) { --#ifdef MOZ_WIDGET_GONK -+#if defined(MOZ_WIDGET_GONK) || defined(__FreeBSD__) && __FreeBSD_version < 800097 - bool value = Preferences::GetBool(aPref, false); - #else - bool value = Preferences::GetBool(aPref, true); Deleted: trunk/www/firefox-nightly/files/patch-gfx-ots-include-opentype-sanitiser.h ============================================================================== --- trunk/www/firefox-nightly/files/patch-gfx-ots-include-opentype-sanitiser.h Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,18 +0,0 @@ -diff --git gfx/ots/include/opentype-sanitiser.h gfx/ots/include/opentype-sanitiser.h -index f42822e..1a5a699 100644 ---- gfx/ots/include/opentype-sanitiser.h -+++ gfx/ots/include/opentype-sanitiser.h -@@ -44,6 +44,13 @@ typedef unsigned __int64 uint64_t; - #include - #endif - -+#ifdef __FreeBSD__ -+# include -+# if __FreeBSD_version < 800067 -+# include // for off_t -+# endif -+#endif -+ - #include // for std::min - #include - #include Deleted: trunk/www/firefox-nightly/files/patch-ipc-chromium-src-base-platform_thread_posix.cc ============================================================================== --- trunk/www/firefox-nightly/files/patch-ipc-chromium-src-base-platform_thread_posix.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,16 +0,0 @@ ---- ipc/chromium/src/base/platform_thread_posix.cc~ -+++ ipc/chromium/src/base/platform_thread_posix.cc -@@ -16,7 +16,13 @@ - #include - #elif defined(OS_FREEBSD) - #include -+#if __FreeBSD_version > 802500 - #include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif - #endif - - #if !defined(OS_MACOSX) Deleted: trunk/www/firefox-nightly/files/patch-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebindingsymboltable_linux.cc ============================================================================== --- trunk/www/firefox-nightly/files/patch-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebindingsymboltable_linux.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,37 +0,0 @@ ---- media/webrtc/trunk/webrtc/modules/audio_device/linux/latebindingsymboltable_linux.cc~ -+++ media/webrtc/trunk/webrtc/modules/audio_device/linux/latebindingsymboltable_linux.cc -@@ -31,6 +31,10 @@ - #include - #endif - -+#ifdef __FreeBSD__ -+#include -+#endif -+ - // TODO(grunell): Either put inside webrtc namespace or use webrtc:: instead. - using namespace webrtc; - -@@ -38,7 +42,11 @@ namespace webrtc_adm_linux { - - inline static const char *GetDllError() { - #ifdef WEBRTC_LINUX -+#if __FreeBSD_version < 800505 -+ const char *err = dlerror(); -+#else - char *err = dlerror(); -+#endif - if (err) { - return err; - } else { -@@ -78,7 +86,11 @@ static bool LoadSymbol(DllHandle handle, - void **symbol) { - #ifdef WEBRTC_LINUX - *symbol = dlsym(handle, symbol_name); -+#if __FreeBSD_version < 800505 -+ const char *err = dlerror(); -+#else - char *err = dlerror(); -+#endif - if (err) { - WEBRTC_TRACE(kTraceError, kTraceAudioDevice, -1, - "Error loading symbol %s : %d", symbol_name, err); Deleted: trunk/www/firefox-nightly/files/patch-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc ============================================================================== --- trunk/www/firefox-nightly/files/patch-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,16 +0,0 @@ ---- media/webrtc/trunk/webrtc/system_wrappers/source/thread_posix.cc~ -+++ media/webrtc/trunk/webrtc/system_wrappers/source/thread_posix.cc -@@ -62,7 +62,13 @@ - #include - #elif defined(__FreeBSD__) - #include -+#if __FreeBSD_version > 802500 - #include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif - #endif - - #if defined(WEBRTC_BSD) && !defined(__NetBSD__) Deleted: trunk/www/firefox-nightly/files/patch-python-psutil-psutil-_psutil_bsd.c ============================================================================== --- trunk/www/firefox-nightly/files/patch-python-psutil-psutil-_psutil_bsd.c Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,13 +0,0 @@ ---- python/psutil/psutil/_psutil_bsd.c.orig 2012-08-16 23:07:37.000000000 +0800 -+++ python/psutil/psutil/_psutil_bsd.c 2012-09-27 14:50:20.843763756 +0800 -@@ -1376,8 +1376,10 @@ - strlcat(opts, ",noclusterr", sizeof(opts)); - if (flags & MNT_NOCLUSTERW) - strlcat(opts, ",noclusterw", sizeof(opts)); -+#if __FreeBSD_version >= 800000 - if (flags & MNT_NFS4ACLS) - strlcat(opts, ",nfs4acls", sizeof(opts)); -+#endif - - py_tuple = Py_BuildValue("(ssss)", fs[i].f_mntfromname, // device - fs[i].f_mntonname, // mount point Modified: trunk/www/firefox-nightly/pkg-message ============================================================================== --- trunk/www/firefox-nightly/pkg-message Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/www/firefox-nightly/pkg-message Fri Mar 1 05:11:57 2013 (r1195) @@ -17,7 +17,7 @@ Firefox and HTML5 Certain functions used to display HTML5 elements need the sem module -on 7.x and 8.x releases. +only on 8.x releases. If your Firefox crashes with the following message while viewing a HTML5 page: Deleted: trunk/www/firefox/files/patch-content-media-AudioStream.cpp ============================================================================== --- trunk/www/firefox/files/patch-content-media-AudioStream.cpp Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,11 +0,0 @@ ---- content/media/AudioStream.cpp~ -+++ content/media/AudioStream.cpp -@@ -298,7 +298,7 @@ static int PrefChanged(const char* aPref, void* aClosure) - gVolumeScale = NS_MAX(0, PR_strtod(utf8.get(), nullptr)); - } - } else if (strcmp(aPref, PREF_USE_CUBEB) == 0) { --#ifdef MOZ_WIDGET_GONK -+#if defined(MOZ_WIDGET_GONK) || defined(__FreeBSD__) && __FreeBSD_version < 800097 - bool value = Preferences::GetBool(aPref, false); - #else - bool value = Preferences::GetBool(aPref, true); Deleted: trunk/www/firefox/files/patch-gfx-ots-include-opentype-sanitiser.h ============================================================================== --- trunk/www/firefox/files/patch-gfx-ots-include-opentype-sanitiser.h Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,18 +0,0 @@ -diff --git gfx/ots/include/opentype-sanitiser.h gfx/ots/include/opentype-sanitiser.h -index f42822e..1a5a699 100644 ---- gfx/ots/include/opentype-sanitiser.h -+++ gfx/ots/include/opentype-sanitiser.h -@@ -44,6 +44,13 @@ typedef unsigned __int64 uint64_t; - #include - #endif - -+#ifdef __FreeBSD__ -+# include -+# if __FreeBSD_version < 800067 -+# include // for off_t -+# endif -+#endif -+ - #include // for std::min - #include - #include Deleted: trunk/www/firefox/files/patch-ipc-chromium-src-base-platform_thread_posix.cc ============================================================================== --- trunk/www/firefox/files/patch-ipc-chromium-src-base-platform_thread_posix.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,16 +0,0 @@ ---- ipc/chromium/src/base/platform_thread_posix.cc~ -+++ ipc/chromium/src/base/platform_thread_posix.cc -@@ -16,7 +16,13 @@ - #include - #elif defined(OS_FREEBSD) - #include -+#if __FreeBSD_version > 802500 - #include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif - #endif - - #if !defined(OS_MACOSX) Deleted: trunk/www/firefox/files/patch-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebindingsymboltable_linux.cc ============================================================================== --- trunk/www/firefox/files/patch-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebindingsymboltable_linux.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,37 +0,0 @@ ---- media/webrtc/trunk/src/modules/audio_device/main/source/linux/latebindingsymboltable_linux.cc~ -+++ media/webrtc/trunk/src/modules/audio_device/main/source/linux/latebindingsymboltable_linux.cc -@@ -31,6 +31,10 @@ - #include - #endif - -+#ifdef __FreeBSD__ -+#include -+#endif -+ - // TODO(grunell): Either put inside webrtc namespace or use webrtc:: instead. - using namespace webrtc; - -@@ -38,7 +42,11 @@ namespace webrtc_adm_linux { - - inline static const char *GetDllError() { - #ifdef WEBRTC_LINUX -+#if __FreeBSD_version < 800505 -+ const char *err = dlerror(); -+#else - char *err = dlerror(); -+#endif - if (err) { - return err; - } else { -@@ -78,7 +86,11 @@ static bool LoadSymbol(DllHandle handle, - void **symbol) { - #ifdef WEBRTC_LINUX - *symbol = dlsym(handle, symbol_name); -+#if __FreeBSD_version < 800505 -+ const char *err = dlerror(); -+#else - char *err = dlerror(); -+#endif - if (err) { - WEBRTC_TRACE(kTraceError, kTraceAudioDevice, -1, - "Error loading symbol %s : %d", symbol_name, err); Deleted: trunk/www/firefox/files/patch-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc ============================================================================== --- trunk/www/firefox/files/patch-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,16 +0,0 @@ ---- media/webrtc/trunk/src/system_wrappers/source/thread_posix.cc~ -+++ media/webrtc/trunk/src/system_wrappers/source/thread_posix.cc -@@ -62,7 +62,13 @@ - #include - #elif defined(__FreeBSD__) - #include -+#if __FreeBSD_version > 802500 - #include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif - #endif - - #if defined(WEBRTC_BSD) && !defined(__NetBSD__) Deleted: trunk/www/firefox/files/patch-python-psutil-psutil-_psutil_bsd.c ============================================================================== --- trunk/www/firefox/files/patch-python-psutil-psutil-_psutil_bsd.c Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,13 +0,0 @@ ---- python/psutil/psutil/_psutil_bsd.c.orig 2012-08-16 23:07:37.000000000 +0800 -+++ python/psutil/psutil/_psutil_bsd.c 2012-09-27 14:50:20.843763756 +0800 -@@ -1376,8 +1376,10 @@ - strlcat(opts, ",noclusterr", sizeof(opts)); - if (flags & MNT_NOCLUSTERW) - strlcat(opts, ",noclusterw", sizeof(opts)); -+#if __FreeBSD_version >= 800000 - if (flags & MNT_NFS4ACLS) - strlcat(opts, ",nfs4acls", sizeof(opts)); -+#endif - - py_tuple = Py_BuildValue("(ssss)", fs[i].f_mntfromname, // device - fs[i].f_mntonname, // mount point Modified: trunk/www/firefox/pkg-message ============================================================================== --- trunk/www/firefox/pkg-message Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/www/firefox/pkg-message Fri Mar 1 05:11:57 2013 (r1195) @@ -17,7 +17,7 @@ Firefox and HTML5 Certain functions used to display HTML5 elements need the sem module -on 7.x and 8.x releases. +only on 8.x releases. If your Firefox crashes with the following message while viewing a HTML5 page: Modified: trunk/www/libxul/files/patch-bug753046 ============================================================================== --- trunk/www/libxul/files/patch-bug753046 Wed Feb 27 23:32:44 2013 (r1194) +++ trunk/www/libxul/files/patch-bug753046 Fri Mar 1 05:11:57 2013 (r1195) @@ -469,7 +469,7 @@ --- ipc/chromium/src/base/platform_thread_posix.cc.orig 2012-03-13 01:36:53.000000000 +0000 +++ ipc/chromium/src/base/platform_thread_posix.cc -@@ -9,9 +9,23 @@ +@@ -9,9 +9,17 @@ #if defined(OS_MACOSX) #include @@ -482,13 +482,7 @@ +#include +#elif defined(OS_FREEBSD) +#include -+#if __FreeBSD_version > 802500 +#include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif +#include #endif Deleted: trunk/www/seamonkey/files/patch-mozilla-content-media-nsAudioStream.cpp ============================================================================== --- trunk/www/seamonkey/files/patch-mozilla-content-media-nsAudioStream.cpp Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,11 +0,0 @@ ---- mozilla/content/media/AudioStream.cpp~ -+++ mozilla/content/media/AudioStream.cpp -@@ -298,7 +298,7 @@ static int PrefChanged(const char* aPref, void* aClosure) - gVolumeScale = NS_MAX(0, PR_strtod(utf8.get(), nullptr)); - } - } else if (strcmp(aPref, PREF_USE_CUBEB) == 0) { --#ifdef MOZ_WIDGET_GONK -+#if defined(MOZ_WIDGET_GONK) || defined(__FreeBSD__) && __FreeBSD_version < 800097 - bool value = Preferences::GetBool(aPref, false); - #else - bool value = Preferences::GetBool(aPref, true); Deleted: trunk/www/seamonkey/files/patch-mozilla-gfx-ots-include-opentype-sanitiser.h ============================================================================== --- trunk/www/seamonkey/files/patch-mozilla-gfx-ots-include-opentype-sanitiser.h Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,18 +0,0 @@ -diff --git gfx/ots/include/opentype-sanitiser.h gfx/ots/include/opentype-sanitiser.h -index f42822e..1a5a699 100644 ---- mozilla/gfx/ots/include/opentype-sanitiser.h -+++ mozilla/gfx/ots/include/opentype-sanitiser.h -@@ -44,6 +44,13 @@ typedef unsigned __int64 uint64_t; - #include - #endif - -+#ifdef __FreeBSD__ -+# include -+# if __FreeBSD_version < 800067 -+# include // for off_t -+# endif -+#endif -+ - #include // for std::min - #include - #include Deleted: trunk/www/seamonkey/files/patch-mozilla-ipc-chromium-src-base-platform_thread_posix.cc ============================================================================== --- trunk/www/seamonkey/files/patch-mozilla-ipc-chromium-src-base-platform_thread_posix.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,16 +0,0 @@ ---- mozilla/ipc/chromium/src/base/platform_thread_posix.cc~ -+++ mozilla/ipc/chromium/src/base/platform_thread_posix.cc -@@ -16,7 +16,13 @@ - #include - #elif defined(OS_FREEBSD) - #include -+#if __FreeBSD_version > 802500 - #include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif - #endif - - #if !defined(OS_MACOSX) Deleted: trunk/www/seamonkey/files/patch-mozilla-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebind_linux.cc ============================================================================== --- trunk/www/seamonkey/files/patch-mozilla-media-webrtc-trunk-src-modules-audio_device-main-source-linux-latebind_linux.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,37 +0,0 @@ ---- mozilla/media/webrtc/trunk/src/modules/audio_device/main/source/linux/latebindingsymboltable_linux.cc~ -+++ mozilla/media/webrtc/trunk/src/modules/audio_device/main/source/linux/latebindingsymboltable_linux.cc -@@ -31,6 +31,10 @@ - #include - #endif - -+#ifdef __FreeBSD__ -+#include -+#endif -+ - // TODO(grunell): Either put inside webrtc namespace or use webrtc:: instead. - using namespace webrtc; - -@@ -38,7 +42,11 @@ namespace webrtc_adm_linux { - - inline static const char *GetDllError() { - #ifdef WEBRTC_LINUX -+#if __FreeBSD_version < 800505 -+ const char *err = dlerror(); -+#else - char *err = dlerror(); -+#endif - if (err) { - return err; - } else { -@@ -78,7 +86,11 @@ static bool LoadSymbol(DllHandle handle, - void **symbol) { - #ifdef WEBRTC_LINUX - *symbol = dlsym(handle, symbol_name); -+#if __FreeBSD_version < 800505 -+ const char *err = dlerror(); -+#else - char *err = dlerror(); -+#endif - if (err) { - WEBRTC_TRACE(kTraceError, kTraceAudioDevice, -1, - "Error loading symbol %s : %d", symbol_name, err); Deleted: trunk/www/seamonkey/files/patch-mozilla-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc ============================================================================== --- trunk/www/seamonkey/files/patch-mozilla-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,16 +0,0 @@ ---- mozilla/media/webrtc/trunk/src/system_wrappers/source/thread_posix.cc~ -+++ mozilla/media/webrtc/trunk/src/system_wrappers/source/thread_posix.cc -@@ -62,7 +62,13 @@ - #include - #elif defined(__FreeBSD__) - #include -+#if __FreeBSD_version > 802500 - #include -+#else -+_Pragma("GCC visibility push(default)") -+extern "C" int thr_self(long *); -+_Pragma("GCC visibility pop") -+#endif - #endif - - #if defined(WEBRTC_BSD) && !defined(__NetBSD__) Deleted: trunk/www/seamonkey/files/patch-mozilla-python-psutil-psutil-_psutil_bsd.c ============================================================================== --- trunk/www/seamonkey/files/patch-mozilla-python-psutil-psutil-_psutil_bsd.c Fri Mar 1 05:11:57 2013 (r1194) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,13 +0,0 @@ ---- mozilla/python/psutil/psutil/_psutil_bsd.c.orig 2012-08-16 23:07:37.000000000 +0800 -+++ mozilla/python/psutil/psutil/_psutil_bsd.c 2012-09-27 14:50:20.843763756 +0800 -@@ -1376,8 +1376,10 @@ - strlcat(opts, ",noclusterr", sizeof(opts)); - if (flags & MNT_NOCLUSTERW) - strlcat(opts, ",noclusterw", sizeof(opts)); -+#if __FreeBSD_version >= 800000 - if (flags & MNT_NFS4ACLS) - strlcat(opts, ",nfs4acls", sizeof(opts)); -+#endif - - py_tuple = Py_BuildValue("(ssss)", fs[i].f_mntfromname, // device - fs[i].f_mntonname, // mount point