freebsd-ports/www/firefox-esr/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp
Beat Gaetzi b98f720761 - Update to 3.6
What's new in Firefox 3.6:

  * Support for the HTML5 File API
  * A change to how third-party software integrates with Firefox to
    increase stability.
  * The ability to run scripts asynchronously to speed up page load times.
  * A mechanism to prevent incompatible software from crashing Firefox.
  * Users can now change their browser's appearance with a single click,
    with built in support for Personas.
  * Firefox 3.6 will alert users about out of date plugins to keep them
    safe.
  * Open, native video can now be displayed full screen, and supports
    poster frames.
  * Support for the WOFF font format.
  * Improved JavaScript performance, overall browser responsiveness and
    startup time.
  * Support for new CSS, DOM and HTML5 web technologies.

Thanks to:	Andreas Tobler, Florian Smeets, nox@, miwi@ and all testers
2010-02-07 21:48:44 +00:00

20 lines
1,002 B
C++

--- xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp.orig
+++ xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp
@@ -633,10 +633,17 @@ IndexOfDirectoryOfFile(nsISupportsArray*
aSearchPath->QueryElementAt(i, NS_GET_IID(nsIFile),
getter_AddRefs(current));
NS_ASSERTION(current, "broken search path! bad element");
+#if 0
+ // XXX #if 0'd because this breaks
+ // xptiInterfaceInfoManager::DoFullValidationMergeFromFileList()
+ // causing ff failing to start when there are symlinks in .xpt
+ // file paths, like those from addons when /home is a symlink.
+
// nsIFile::Equals basically compares path strings so normalize
// before the comparison.
parent->Normalize();
current->Normalize();
+#endif
PRBool same;
if (NS_SUCCEEDED(parent->Equals(current, &same)) && same)
return (int) i;