summaryrefslogtreecommitdiff
path: root/www/seamonkey2/files/patch-uriloader_exthandler_unix_nsGNOMERegistry.cpp
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-24 18:25:45 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-24 18:25:45 +0000
commit52a070ec515155685c2fec4faca3751b64cccbdb (patch)
tree6988e7cc8ec3505664a544986366f73c2256260f /www/seamonkey2/files/patch-uriloader_exthandler_unix_nsGNOMERegistry.cpp
parentPatch vulnerability in imported xpdf code. Bump PORTREVISION. (diff)
* Fix external URI loaders by loading the correct version of the GNOME
libraries. This means Mozilla's GNOME integration (i.e. GConf) should now work [1] * Fix i18n support when invoking Mozilla, and add atsdsp support [2] * Port all fixes to mozilla-devel PR: 75428 [2] Reported by: Jose M Rodriguez (freebsd) <josemi@freebsd.jazztel.es> [1] Submitted by: Jose M Rodriguez (freebsd) <josemi@freebsd.jazztel.es> [2]
Diffstat (limited to 'www/seamonkey2/files/patch-uriloader_exthandler_unix_nsGNOMERegistry.cpp')
-rw-r--r--www/seamonkey2/files/patch-uriloader_exthandler_unix_nsGNOMERegistry.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/seamonkey2/files/patch-uriloader_exthandler_unix_nsGNOMERegistry.cpp b/www/seamonkey2/files/patch-uriloader_exthandler_unix_nsGNOMERegistry.cpp
new file mode 100644
index 000000000000..7f8e55f536df
--- /dev/null
+++ b/www/seamonkey2/files/patch-uriloader_exthandler_unix_nsGNOMERegistry.cpp
@@ -0,0 +1,29 @@
+--- uriloader/exthandler/unix/nsGNOMERegistry.cpp.orig Fri Dec 24 04:30:00 2004
++++ uriloader/exthandler/unix/nsGNOMERegistry.cpp Fri Dec 24 04:34:05 2004
+@@ -143,7 +143,7 @@
+ PR_END_MACRO
+
+ // Attempt to open libgconf
+- gconfLib = LoadVersionedLibrary("gconf-2", ".4");
++ gconfLib = PR_LoadLibrary("libgconf-2.so");
+ ENSURE_LIB(gconfLib);
+
+ GET_LIB_FUNCTION(gconf, gconf_client_get_default);
+@@ -151,7 +151,7 @@
+ GET_LIB_FUNCTION(gconf, gconf_client_get_bool);
+
+ // Attempt to open libgnome
+- gnomeLib = LoadVersionedLibrary("gnome-2", ".0");
++ gnomeLib = PR_LoadLibrary("libgnome-2.so");
+ ENSURE_LIB(gnomeLib);
+
+ GET_LIB_FUNCTION(gnome, gnome_url_show);
+@@ -160,7 +160,7 @@
+ GET_LIB_FUNCTION(gnome, gnome_program_get);
+
+ // Attempt to open libgnomevfs
+- vfsLib = LoadVersionedLibrary("gnomevfs-2", ".0");
++ vfsLib = PR_LoadLibrary("libgnomevfs-2.so");
+ ENSURE_LIB(vfsLib);
+
+ GET_LIB_FUNCTION(vfs, gnome_vfs_mime_type_from_name);