summaryrefslogtreecommitdiff
path: root/mozilla-1466473.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-06-04 13:41:12 +0200
committerMartin Stransky <stransky@redhat.com>2018-06-04 13:41:12 +0200
commit0c068bfe1eb9f20e68923b3cd748ce30bb844841 (patch)
tree9cae1e0b2e7d01ba514a34c4143000a4fae2c569 /mozilla-1466473.patch
parentAdded workaround for mozbz#1464823 which makes GL layer compositor usable on ... (diff)
downloadlibrewolf-fedora-ff-0c068bfe1eb9f20e68923b3cd748ce30bb844841.tar.gz
librewolf-fedora-ff-0c068bfe1eb9f20e68923b3cd748ce30bb844841.tar.bz2
librewolf-fedora-ff-0c068bfe1eb9f20e68923b3cd748ce30bb844841.zip
Fixed mozbz#1466473, rhbz#1585300 - Fix GL detection, Fixed desktop file names (rhbz#1585369)
Diffstat (limited to 'mozilla-1466473.patch')
-rw-r--r--mozilla-1466473.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/mozilla-1466473.patch b/mozilla-1466473.patch
new file mode 100644
index 0000000..5ee521d
--- /dev/null
+++ b/mozilla-1466473.patch
@@ -0,0 +1,42 @@
+diff --git a/toolkit/xre/moz.build b/toolkit/xre/moz.build
+--- a/toolkit/xre/moz.build
++++ b/toolkit/xre/moz.build
+@@ -116,17 +116,17 @@ UNIFIED_SOURCES += [
+ # they pull in OS X system headers.
+ # nsEmbedFunctions.cpp cannot be built in unified mode because it pulls in X11 headers.
+ SOURCES += [
+ 'nsAppRunner.cpp',
+ 'nsEmbedFunctions.cpp',
+ 'ProfileReset.cpp',
+ ]
+
+-if CONFIG['MOZ_GL_DEFAULT_PROVIDER'] == 'GLX':
++if CONFIG['MOZ_X11']:
+ UNIFIED_SOURCES += [
+ 'glxtest.cpp',
+ ]
+
+ if CONFIG['MOZ_INSTRUMENT_EVENT_LOOP']:
+ UNIFIED_SOURCES += [
+ 'EventTracer.cpp',
+ ]
+@@ -142,17 +142,17 @@ if CONFIG['MOZ_PDF_PRINTING']:
+ LOCAL_INCLUDES += [
+ '../components/printingui',
+ ]
+
+ include('/ipc/chromium/chromium-config.mozbuild')
+
+ FINAL_LIBRARY = 'xul'
+
+-if CONFIG['MOZ_GL_DEFAULT_PROVIDER'] == 'GLX':
++if CONFIG['MOZ_X11']:
+ DEFINES['USE_GLX_TEST'] = True
+
+ for var in ('MOZ_APP_NAME', 'MOZ_APP_BASENAME', 'MOZ_APP_DISPLAYNAME',
+ 'MOZ_APP_VERSION', 'OS_TARGET', 'MOZ_WIDGET_TOOLKIT'):
+ DEFINES[var] = '"%s"' % CONFIG[var]
+
+ if CONFIG['MOZ_UPDATER'] and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
+ DEFINES['MOZ_UPDATER'] = True
+
bgstack15