pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox Fix build on NetBSD 7.1. PR/52309



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b18696b38545
branches:  trunk
changeset: 364591:b18696b38545
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Fri Jun 30 16:36:18 2017 +0000

description:
Fix build on NetBSD 7.1.  PR/52309

diffstat:

 www/firefox/distinfo                                                 |   3 +-
 www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r a1fefaf877bc -r b18696b38545 www/firefox/distinfo
--- a/www/firefox/distinfo      Fri Jun 30 16:07:51 2017 +0000
+++ b/www/firefox/distinfo      Fri Jun 30 16:36:18 2017 +0000
@@ -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-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 -r a1fefaf877bc -r b18696b38545 www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc      Fri Jun 30 16:36:18 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index