diff options
author | tsutsui <tsutsui@pkgsrc.org> | 2017-06-30 16:36:18 +0000 |
---|---|---|
committer | tsutsui <tsutsui@pkgsrc.org> | 2017-06-30 16:36:18 +0000 |
commit | 969100e000724738380ad19d5082b82d29ac0793 (patch) | |
tree | 480cf3cfa478c8ccc153bff3dfa0a446b713e231 /www/firefox | |
parent | 805077729a82a72328ca5c406be77fdb68a16868 (diff) | |
download | pkgsrc-969100e000724738380ad19d5082b82d29ac0793.tar.gz |
Fix build on NetBSD 7.1. PR/52309
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/distinfo | 3 | ||||
-rw-r--r-- | www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo index e3912c93c71..4513aabfd40 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.283 2017/06/29 08:07:59 martin Exp $ +$NetBSD: distinfo,v 1.284 2017/06/30 16:36:18 tsutsui Exp $ SHA1 (firefox-54.0.source.tar.xz) = 44e40c77f58e3b203dc60f51c5a02993f6c38ee5 RMD160 (firefox-54.0.source.tar.xz) = 310f21498bc69939049d3ca881674a40fba8da21 @@ -40,6 +40,7 @@ SHA1 (patch-image_decoders_nsJPEGDecoder.cpp) = ed86c3fbb3aef753eec6f6a97940594a SHA1 (patch-intl_hyphenation_glue_hnjalloc.h) = abe01bea5872a57f3d00bbbf89f958621f08a655 SHA1 (patch-intl_unicharutil_util_moz.build) = fffed7139faa3f15d6ab3be9b673cb0b14a30ce9 SHA1 (patch-ipc_chromium_src_base_atomicops.h) = 24b63a6e51d9ab27f2788ee02f2ffa7e1c36f29a +SHA1 (patch-ipc_chromium_src_base_lock__impl__posix.cc) = 16e37fe54ba1d8d233f6b04dbd06e248305d7f6e SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 99b9f3f9dd88f1c8008d2fb6058450695394f5cf SHA1 (patch-ipc_chromium_src_base_platform__thread.h) = c81930280bd76a00fbad37aad02fb8451d80b1ee SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 45409f2152d5ffc376c18c0c9bc696e08e3910ce diff --git a/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc b/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc new file mode 100644 index 00000000000..e9260cbd2d5 --- /dev/null +++ b/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-ipc_chromium_src_base_lock__impl__posix.cc,v 1.1 2017/06/30 16:36:19 tsutsui Exp $ + +- Fix build on NetBSD 7.1 (which doesn't have PTHREAD_PRIO_INHERIT) + +--- ipc/chromium/src/base/lock_impl_posix.cc.orig 2017-06-05 20:45:20.000000000 +0000 ++++ ipc/chromium/src/base/lock_impl_posix.cc +@@ -20,7 +20,7 @@ namespace internal { + // Lock::PriorityInheritanceAvailable still must be checked as the code may + // compile but the underlying platform still may not correctly support priority + // inheritance locks. +-#if defined(OS_NACL) || defined(OS_ANDROID) ++#if defined(OS_NACL) || defined(OS_ANDROID) || (defined(__NetBSD__) && !defined(PTHREAD_PRIO_INHERIT)) + #define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 0 + #else + #define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 1 |