SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
www/chromium/patches/patch-base_native_library_posix_cc
Normal file
12
www/chromium/patches/patch-base_native_library_posix_cc
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: base/native_library_posix.cc
|
||||
--- base/native_library_posix.cc.orig
|
||||
+++ base/native_library_posix.cc
|
||||
@@ -33,7 +33,7 @@ NativeLibrary LoadNativeLibraryWithOptions(const FileP
|
||||
// http://crbug.com/17943, http://crbug.com/17557, http://crbug.com/36892,
|
||||
// and http://crbug.com/40794.
|
||||
int flags = RTLD_LAZY;
|
||||
-#if BUILDFLAG(IS_ANDROID) || !defined(RTLD_DEEPBIND)
|
||||
+#if BUILDFLAG(IS_ANDROID) || !defined(RTLD_DEEPBIND) || BUILDFLAG(IS_BSD)
|
||||
// Certain platforms don't define RTLD_DEEPBIND. Android dlopen() requires
|
||||
// further investigation, as it might vary across versions. Crash here to
|
||||
// warn developers that they're trying to rely on uncertain behavior.
|
Loading…
Add table
Add a link
Reference in a new issue