openbsd-ports/www/mozilla-firefox/patches/patch-ipc_glue_GeckoChildProcessHost_cpp

15 lines
702 B
Plaintext

$OpenBSD: patch-ipc_glue_GeckoChildProcessHost_cpp,v 1.1 2013/01/14 13:52:59 landry Exp $
Fix plugin-container spawning
https://bugzilla.mozilla.org/show_bug.cgi?id=830303
--- ipc/glue/GeckoChildProcessHost.cpp.orig Fri Jan 4 23:44:34 2013
+++ ipc/glue/GeckoChildProcessHost.cpp Mon Jan 14 12:47:00 2013
@@ -459,7 +459,7 @@ GeckoChildProcessHost::PerformAsyncLaunchInternal(std:
nsCString path;
greDir->GetNativePath(path);
# if defined(OS_LINUX) || defined(OS_BSD)
-# if defined(MOZ_WIDGET_ANDROID) || defined(OS_BSD)
+# if defined(MOZ_WIDGET_ANDROID)
path += "/lib";
# endif // MOZ_WIDGET_ANDROID
const char *ld_library_path = PR_GetEnv("LD_LIBRARY_PATH");