Browse Source

bug 1767114 bustage fix

Bill Gianopoulos 2 years ago
parent
commit
5b51cbea48

+ 34 - 0
comm-central/patches/1767114-local-build-bustage.patch

@@ -0,0 +1,34 @@
+# HG changeset patch
+# User Bill Gianopoulos <wgianopoulos@gmail.com>
+# Date 1651328847 0
+Bug 1767114 - Loacl build bustage fix.
+Bug 1767114 will cause bustage in mailnews/mapi/mapiDll/moz.build if
+COMPILE_FLAGS["WARNINGS_AS_ERRORS"]  evalutates as null.
+Issue is '+=' i s not a valid operator for a null operand.
+`
+diff --git a/mailnews/mapi/mapiDll/moz.build b/mailnews/mapi/mapiDll/moz.build
+--- a/mailnews/mapi/mapiDll/moz.build
++++ b/mailnews/mapi/mapiDll/moz.build
+@@ -5,21 +5,20 @@
+ 
+ # Statically link against the CRT, so that we don't go hunting around for it
+ # and not find it when we're loaded into explorer.exe or similar
+ SharedLibrary("mozMapi32")
+ USE_STATIC_LIBS = True
+ 
+ LOCAL_INCLUDES += ["../include"]
+ 
+-COMPILE_FLAGS["WARNINGS_AS_ERRORS"] += ["-Wno-sign-compare"]
+-
+ SOURCES += [
+     "MapiDll.cpp",
+ ]
++SOURCES["MapiDll.cpp"].flags += ["-Wno-sign-compare"]
+ 
+ OS_LIBS += [
+     "ole32",
+ ]
+ 
+ DEFINES["UNICODE"] = True
+ DEFINES["_UNICODE"] = True
+ 

+ 1 - 0
comm-central/patches/series

@@ -1,4 +1,5 @@
 9999999-port1761242-suite-100a1.patch
+1767114-local-build-bustage.patch
 TOP-1642188-remove-nsDOMIEvent-cc.patch
 TOP-1611010-DOMEventListener-cc.patch
 TOP-1614671-port1456035-4-and-5-61a1-cc.patch