firefox: fix darwin build

This commit is contained in:
Ihar Hrachyshka
2024-12-29 17:59:05 -05:00
parent 3e7585fd5b
commit a4890e046d
2 changed files with 14 additions and 0 deletions
@@ -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;
@@ -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 {