Browse Source

fix macOS suite bustage

Bill Gianopoulos 2 years ago
parent
commit
aac5d47999

+ 23 - 0
mozilla-central/patches/WIP-9999999-hack-fix-macOS-sutie.patch

@@ -0,0 +1,23 @@
+# HG changeset patch
+# User Bill Gianopoulos <wgianopoulos@gmail.com>
+# Date 1654346121 0
+Bug 99999999 - hack to fix macOS suite builds.
+
+diff --git a/widget/cocoa/TextRecognition.mm b/widget/cocoa/TextRecognition.mm
+--- a/widget/cocoa/TextRecognition.mm
++++ b/widget/cocoa/TextRecognition.mm
+@@ -1,14 +1,12 @@
+ /* This Source Code Form is subject to the terms of the Mozilla Public
+  * License, v. 2.0. If a copy of the MPL was not distributed with this
+  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+ 
+-#import <Vision/Vision.h>
+-
+ #include "mozilla/dom/Promise.h"
+ #include "mozilla/gfx/2D.h"
+ #include "mozilla/ErrorResult.h"
+ #include "ErrorList.h"
+ #include "nsClipboard.h"
+ #include "nsCocoaUtils.h"
+ #include "mozilla/MacStringHelpers.h"
+ #include "mozilla/ScopeExit.h"

+ 1 - 0
mozilla-central/patches/series

@@ -1,3 +1,4 @@
 1624546-vs2019-runtime-mc.patch
 9999999-with-vs2019.patch
 9999999-NSSgetentropy.patch
+WIP-9999999-hack-fix-macOS-sutie.patch