firefox: fix darwin build (#369253)

This commit is contained in:
Martin Weinelt
2024-12-30 23:35:57 +01:00
committed by GitHub
2 changed files with 14 additions and 0 deletions

View File

@@ -290,6 +290,9 @@ buildStdenv.mkDerivation {
# https://bugzilla.mozilla.org/show_bug.cgi?id=1935621
# https://phabricator.services.mozilla.com/D231480
./mozbz-1935621-attachment-9442305.patch
# Fix for missing vector header on macOS
# https://bugzilla.mozilla.org/show_bug.cgi?id=1939405
./firefox-mac-missing-vector-header.patch
]
++ extraPatches;

View File

@@ -0,0 +1,11 @@
diff -r 8273f6f8f9b6 security/sandbox/mac/Sandbox.h
--- a/security/sandbox/mac/Sandbox.h Mon Sep 02 00:19:08 2024 +0000
+++ b/security/sandbox/mac/Sandbox.h Sun Dec 29 11:41:25 2024 -0500
@@ -7,6 +7,7 @@
#define mozilla_Sandbox_h
#include <string>
+#include <vector>
#include "mozilla/ipc/UtilityProcessSandboxing.h"
enum MacSandboxType {