Browse Source

port bug 1747165

Bill Gianopoulos 2 years ago
parent
commit
f86837d110
2 changed files with 24 additions and 0 deletions
  1. 23 0
      comm-central/patches/9999999-port1747165-suite.patch
  2. 1 0
      comm-central/patches/series

+ 23 - 0
comm-central/patches/9999999-port1747165-suite.patch

@@ -0,0 +1,23 @@
+# HG changeset patch
+# User Bill Gianopoulos <wgianopoulos@gmail.com>
+# Date 1640354871 0
+Bug 9999999 -Port bug 1747165 to suite.
+Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS.
+
+diff --git a/suite/components/shell/moz.build b/suite/components/shell/moz.build
+--- a/suite/components/shell/moz.build
++++ b/suite/components/shell/moz.build
+@@ -38,11 +38,12 @@ if SOURCES:
+     ]
+ 
+ EXTRA_JS_MODULES += [
+     "ShellService.jsm",
+ ]
+ 
+ FINAL_LIBRARY = "suite"
+ 
+-CXXFLAGS += CONFIG["TK_CFLAGS"]
++if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
++    CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
+ 
+ JAR_MANIFESTS += ["jar.mn"]

+ 1 - 0
comm-central/patches/series

@@ -1,5 +1,6 @@
 9999999-port1702731-suite.patch
 9999999-port1747332-suite.patch
+9999999-port1747165-suite.patch
 TOP-1642188-remove-nsDOMIEvent-cc.patch
 TOP-1611010-DOMEventListener-cc.patch
 TOP-1614671-port1456035-4-and-5-61a1-cc.patch