pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Fri Jun 30 16:36:19 UTC 2017

Modified Files:
        pkgsrc/www/firefox: distinfo
Added Files:
        pkgsrc/www/firefox/patches:
            patch-ipc_chromium_src_base_lock__impl__posix.cc

Log Message:
Fix build on NetBSD 7.1.  PR/52309


To generate a diff of this commit:
cvs rdiff -u -r1.283 -r1.284 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.283 pkgsrc/www/firefox/distinfo:1.284
--- pkgsrc/www/firefox/distinfo:1.283   Thu Jun 29 08:07:59 2017
+++ pkgsrc/www/firefox/distinfo Fri Jun 30 16:36:18 2017
@@ -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
 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

Added files:

Index: pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc
diff -u /dev/null pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc:1.1
--- /dev/null   Fri Jun 30 16:36:19 2017
+++ pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc Fri Jun 30 16:36:19 2017
@@ -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