Date: Sat, 30 May 2020 00:22:42 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r537012 - in branches/2020Q2: mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files Message-ID: <202005300022.04U0MgZO083194@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sat May 30 00:22:41 2020 New Revision: 537012 URL: https://svnweb.freebsd.org/changeset/ports/537012 Log: MFH: r537006 www/firefox: also check posix_fallocate error in WaylandShmPool::Resize PR: 240884 Submitted by: Greg V Approved by: ports-secteam blanket Modified: branches/2020Q2/mail/thunderbird/Makefile branches/2020Q2/mail/thunderbird/files/patch-bug1618914 branches/2020Q2/www/firefox-esr/Makefile branches/2020Q2/www/firefox-esr/files/patch-bug1618914 branches/2020Q2/www/firefox/Makefile branches/2020Q2/www/firefox/files/patch-bug1618914 Directory Properties: branches/2020Q2/ (props changed) Modified: branches/2020Q2/mail/thunderbird/Makefile ============================================================================== --- branches/2020Q2/mail/thunderbird/Makefile Sat May 30 00:21:10 2020 (r537011) +++ branches/2020Q2/mail/thunderbird/Makefile Sat May 30 00:22:41 2020 (r537012) @@ -3,6 +3,7 @@ PORTNAME= thunderbird DISTVERSION= 68.8.1 +PORTREVISION= 1 CATEGORIES= mail news net-im MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source Modified: branches/2020Q2/mail/thunderbird/files/patch-bug1618914 ============================================================================== --- branches/2020Q2/mail/thunderbird/files/patch-bug1618914 Sat May 30 00:21:10 2020 (r537011) +++ branches/2020Q2/mail/thunderbird/files/patch-bug1618914 Sat May 30 00:22:41 2020 (r537012) @@ -32,3 +32,12 @@ index 9a73326399bd5..9e42a7f1c5d18 100644 return fd; } +@@ -265,7 +266,7 @@ bool WaylandShmPool::Resize(int aSize) { + do { + errno = posix_fallocate(mShmPoolFd, 0, aSize); + } while (errno == EINTR); +- if (errno != 0) return false; ++ if (errno != EINVAL && errno != EOPNOTSUPP) return false; + #endif + + wl_shm_pool_resize(mShmPool, aSize); Modified: branches/2020Q2/www/firefox-esr/Makefile ============================================================================== --- branches/2020Q2/www/firefox-esr/Makefile Sat May 30 00:21:10 2020 (r537011) +++ branches/2020Q2/www/firefox-esr/Makefile Sat May 30 00:22:41 2020 (r537012) @@ -3,7 +3,7 @@ PORTNAME= firefox DISTVERSION= 68.8.0 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ Modified: branches/2020Q2/www/firefox-esr/files/patch-bug1618914 ============================================================================== --- branches/2020Q2/www/firefox-esr/files/patch-bug1618914 Sat May 30 00:21:10 2020 (r537011) +++ branches/2020Q2/www/firefox-esr/files/patch-bug1618914 Sat May 30 00:22:41 2020 (r537012) @@ -32,3 +32,12 @@ index 9a73326399bd5..9e42a7f1c5d18 100644 return fd; } +@@ -265,7 +266,7 @@ bool WaylandShmPool::Resize(int aSize) { + do { + errno = posix_fallocate(mShmPoolFd, 0, aSize); + } while (errno == EINTR); +- if (errno != 0) return false; ++ if (errno != EINVAL && errno != EOPNOTSUPP) return false; + #endif + + wl_shm_pool_resize(mShmPool, aSize); Modified: branches/2020Q2/www/firefox/Makefile ============================================================================== --- branches/2020Q2/www/firefox/Makefile Sat May 30 00:21:10 2020 (r537011) +++ branches/2020Q2/www/firefox/Makefile Sat May 30 00:22:41 2020 (r537012) @@ -3,7 +3,7 @@ PORTNAME= firefox DISTVERSION= 76.0.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ Modified: branches/2020Q2/www/firefox/files/patch-bug1618914 ============================================================================== --- branches/2020Q2/www/firefox/files/patch-bug1618914 Sat May 30 00:21:10 2020 (r537011) +++ branches/2020Q2/www/firefox/files/patch-bug1618914 Sat May 30 00:22:41 2020 (r537012) @@ -32,3 +32,12 @@ index 9a73326399bd5..9e42a7f1c5d18 100644 return fd; } +@@ -265,7 +266,7 @@ bool WaylandShmPool::Resize(int aSize) { + do { + errno = posix_fallocate(mShmPoolFd, 0, aSize); + } while (errno == EINTR); +- if (errno != 0) return false; ++ if (errno != EINVAL && errno != EOPNOTSUPP) return false; + #endif + + wl_shm_pool_resize(mShmPool, aSize);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005300022.04U0MgZO083194>