firefox-esr-128-unwrapped: fix build on darwin
The patch fixes the following failure: Perma error[E0412]: cannot find type `_Allocator` in this scope Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
parent
55fbc4c0e0
commit
e2908c536e
@ -328,6 +328,12 @@ buildStdenv.mkDerivation {
|
||||
# Fixed on Firefox 140
|
||||
./build-fix-RELRHACK_LINKER-setting-when-linker-name-i.patch
|
||||
]
|
||||
++ lib.optionals (lib.versionOlder version "138") [
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1941479
|
||||
# https://phabricator.services.mozilla.com/D240572
|
||||
# Fixed on Firefox 138
|
||||
./firefox-cannot-find-type-Allocator.patch
|
||||
]
|
||||
++ extraPatches;
|
||||
|
||||
postPatch =
|
||||
|
||||
@ -0,0 +1,26 @@
|
||||
From 518049ce568d01413eeda304e8e9c341ab8849f6 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Hommey <mh+mozilla@glandium.org>
|
||||
Date: Thu, 6 Mar 2025 09:36:10 +0000
|
||||
Subject: [PATCH] Bug 1941479 - Mark mozilla::SmallPointerArray_Element as
|
||||
opaque. r=emilio
|
||||
|
||||
Differential Revision: https://phabricator.services.mozilla.com/D240572
|
||||
---
|
||||
layout/style/ServoBindings.toml | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/layout/style/ServoBindings.toml b/layout/style/ServoBindings.toml
|
||||
index 86c6c3026ce7..2b9a34a81a0f 100644
|
||||
--- a/layout/style/ServoBindings.toml
|
||||
+++ b/layout/style/ServoBindings.toml
|
||||
@@ -301,6 +301,7 @@ opaque-types = [
|
||||
"mozilla::dom::Touch",
|
||||
"mozilla::dom::Sequence",
|
||||
"mozilla::SmallPointerArray",
|
||||
+ "mozilla::SmallPointerArray_Element",
|
||||
"mozilla::dom::Optional",
|
||||
"mozilla::dom::OwningNodeOrString_Value",
|
||||
"mozilla::dom::Nullable",
|
||||
--
|
||||
2.49.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user