summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-bug1618914
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-esr/files/patch-bug1618914')
-rw-r--r--www/firefox-esr/files/patch-bug16189149
1 files changed, 9 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-bug1618914 b/www/firefox-esr/files/patch-bug1618914
index 28d722fa6255..dda6b52abe2d 100644
--- a/www/firefox-esr/files/patch-bug1618914
+++ b/www/firefox-esr/files/patch-bug1618914
@@ -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);