pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox Add a patch to fix upstream bug 1553389; b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05b58dca4166
branches:  trunk
changeset: 334256:05b58dca4166
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed May 22 06:24:17 2019 +0000

description:
Add a patch to fix upstream bug 1553389; bump revision

diffstat:

 www/firefox/Makefile                                                            |   3 +-
 www/firefox/distinfo                                                            |   3 +-
 www/firefox/patches/patch-ipc_chromium_src_chrome_common_ipc__channel__posix.cc |  31 ++++++++++
 3 files changed, 35 insertions(+), 2 deletions(-)

diffs (69 lines):

diff -r 70fee7f3eadd -r 05b58dca4166 www/firefox/Makefile
--- a/www/firefox/Makefile      Tue May 21 22:00:08 2019 +0000
+++ b/www/firefox/Makefile      Wed May 22 06:24:17 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.373 2019/05/10 19:44:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.374 2019/05/22 06:24:17 pho Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            66.0
@@ -6,6 +6,7 @@
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
 EXTRACT_SUFX=  .tar.xz
diff -r 70fee7f3eadd -r 05b58dca4166 www/firefox/distinfo
--- a/www/firefox/distinfo      Tue May 21 22:00:08 2019 +0000
+++ b/www/firefox/distinfo      Wed May 22 06:24:17 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.349 2019/05/10 19:44:11 ryoon Exp $
+$NetBSD: distinfo,v 1.350 2019/05/22 06:24:17 pho Exp $
 
 SHA1 (firefox-66.0.5.source.tar.xz) = f2704b63626a6305ce93ee201997d641a9f71ad4
 RMD160 (firefox-66.0.5.source.tar.xz) = 3a595a011b14bc19237717531836507204e3d71c
@@ -15,6 +15,7 @@
 SHA1 (patch-ipc_chromium_src_base_lock__impl__posix.cc) = d84d9b4d416e049423120dcbf9199644ce1c93ab
 SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658
+SHA1 (patch-ipc_chromium_src_chrome_common_ipc__channel__posix.cc) = d634805bf3b02475081cb2f263e91e3f4c481a29
 SHA1 (patch-ipc_glue_CrossProcessSemaphore.h) = 25e24743060acf10c776c6b3b3660f52a2e9fbe8
 SHA1 (patch-ipc_glue_CrossProcessSemaphore__posix.cpp) = f8d155ee66008b7cc4052b6a889327543b89e0bb
 SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 260c29bacd8bf265951b7a412f850bf2b292c836
diff -r 70fee7f3eadd -r 05b58dca4166 www/firefox/patches/patch-ipc_chromium_src_chrome_common_ipc__channel__posix.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-ipc_chromium_src_chrome_common_ipc__channel__posix.cc   Wed May 22 06:24:17 2019 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ipc_chromium_src_chrome_common_ipc__channel__posix.cc,v 1.1 2019/05/22 06:24:17 pho Exp $
+
+In the original code there is a special case for Darwin whose
+sendmsg(2) fails with EMSGSIZE when a fd is to be transferred but
+there isn't enough space in the send buffer. It turned out the same
+applies to NetBSD too. It may affect other BSD kernels as well, but we
+haven't tested them.
+
+Please remove this patch when the upstream issue is resolved:
+https://bugzilla.mozilla.org/show_bug.cgi?id=1553389
+
+--- ipc/chromium/src/chrome/common/ipc_channel_posix.cc.orig   2019-05-10 06:37:41.200812057 +0000
++++ ipc/chromium/src/chrome/common/ipc_channel_posix.cc
+@@ -9,7 +9,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <limits.h>
+-#if defined(OS_MACOSX)
++#if defined(OS_MACOSX) || defined(OS_NETBSD)
+ #  include <sched.h>
+ #endif
+ #include <stddef.h>
+@@ -699,7 +699,7 @@ bool Channel::ChannelImpl::ProcessOutgoi
+           // Not an error; the sendmsg would have blocked, so return to the
+           // event loop and try again later.
+           break;
+-#if defined(OS_MACOSX)
++#if defined(OS_MACOSX) || defined(OS_NETBSD)
+           // (Note: this comment is copied from https://crrev.com/86c3d9ef4fdf6;
+           // see also bug 1142693 comment #73.)
+           //



Home | Main Index | Thread Index | Old Index