ad076fd40f
www/firefox36 mostly by martynas@ and naddy@. Note that the java plugin from devel/jdk currently doesn't work with this version of firefox, in the meantime users really needed it will have to use www/firefox35. ok naddy@
22 lines
787 B
Plaintext
22 lines
787 B
Plaintext
$OpenBSD: patch-xpcom_base_nsStackWalk_cpp,v 1.2 2010/04/26 19:55:58 landry Exp $
|
|
--- xpcom/base/nsStackWalk.cpp.orig Wed Jan 6 05:35:35 2010
|
|
+++ xpcom/base/nsStackWalk.cpp Sun Jan 10 17:47:30 2010
|
|
@@ -1132,7 +1132,7 @@ NS_FormatCodeAddressDetails(void *aPC, const nsCodeAdd
|
|
#define __USE_GNU
|
|
#endif
|
|
|
|
-#if defined(HAVE_LIBDL) || defined(XP_MACOSX)
|
|
+#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__OpenBSD__)
|
|
#include <dlfcn.h>
|
|
#endif
|
|
|
|
@@ -1231,7 +1231,7 @@ myinit()
|
|
if (! initialized) {
|
|
#ifndef __GNUC__
|
|
void *handle;
|
|
- const char *libdem = "libdemangle.so.1";
|
|
+ const char *libdem = "libdemangle.so";
|
|
|
|
/* load libdemangle if we can and need to (only try this once) */
|
|
if ((handle = dlopen(libdem, RTLD_LAZY)) != NULL) {
|