Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2020 23:25:58 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r537006 - in head: mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files
Message-ID:  <202005292325.04TNPwTt045740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri May 29 23:25:58 2020
New Revision: 537006
URL: https://svnweb.freebsd.org/changeset/ports/537006

Log:
  www/firefox: also check posix_fallocate error in WaylandShmPool::Resize
  
  PR:		240884
  Submitted by:	Greg V

Modified:
  head/mail/thunderbird/Makefile   (contents, props changed)
  head/mail/thunderbird/files/patch-bug1618914   (contents, props changed)
  head/www/firefox-esr/Makefile   (contents, props changed)
  head/www/firefox-esr/files/patch-bug1618914   (contents, props changed)
  head/www/firefox/Makefile   (contents, props changed)
  head/www/firefox/files/patch-bug1618914   (contents, props changed)

Modified: head/mail/thunderbird/Makefile
==============================================================================
--- head/mail/thunderbird/Makefile	Fri May 29 22:44:43 2020	(r537005)
+++ head/mail/thunderbird/Makefile	Fri May 29 23:25:58 2020	(r537006)
@@ -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: head/mail/thunderbird/files/patch-bug1618914
==============================================================================
--- head/mail/thunderbird/files/patch-bug1618914	Fri May 29 22:44:43 2020	(r537005)
+++ head/mail/thunderbird/files/patch-bug1618914	Fri May 29 23:25:58 2020	(r537006)
@@ -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: head/www/firefox-esr/Makefile
==============================================================================
--- head/www/firefox-esr/Makefile	Fri May 29 22:44:43 2020	(r537005)
+++ head/www/firefox-esr/Makefile	Fri May 29 23:25:58 2020	(r537006)
@@ -3,6 +3,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	68.9.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \

Modified: head/www/firefox-esr/files/patch-bug1618914
==============================================================================
--- head/www/firefox-esr/files/patch-bug1618914	Fri May 29 22:44:43 2020	(r537005)
+++ head/www/firefox-esr/files/patch-bug1618914	Fri May 29 23:25:58 2020	(r537006)
@@ -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: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile	Fri May 29 22:44:43 2020	(r537005)
+++ head/www/firefox/Makefile	Fri May 29 23:25:58 2020	(r537006)
@@ -3,7 +3,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	77.0
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	www
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

Modified: head/www/firefox/files/patch-bug1618914
==============================================================================
--- head/www/firefox/files/patch-bug1618914	Fri May 29 22:44:43 2020	(r537005)
+++ head/www/firefox/files/patch-bug1618914	Fri May 29 23:25:58 2020	(r537006)
@@ -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?202005292325.04TNPwTt045740>