openbsd-ports/www/firefox35/patches/patch-xpcom_base_nsStackWalk_cpp
martynas 5473c857d7 import firefox35-3.5rc2, been using it for couple of months.
wip, not linked to the build yet.  needs nspr&nss updates.
2009-06-21 01:31:23 +00:00

13 lines
459 B
Plaintext

$OpenBSD: patch-xpcom_base_nsStackWalk_cpp,v 1.1.1.1 2009/06/21 01:31:26 martynas Exp $
--- xpcom/base/nsStackWalk.cpp.orig Wed Mar 12 00:46:31 2008
+++ xpcom/base/nsStackWalk.cpp Sun Apr 13 20:34:51 2008
@@ -1124,7 +1124,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