summaryrefslogtreecommitdiff
path: root/data/patches/torbrowser-bug-12811-2.patch
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2015-03-08 15:14:03 +0000
committerRuben Rodriguez <ruben@gnu.org>2015-03-08 15:14:03 +0000
commit9a0fd32cf6e2ada37675bc743532c5004b16e5e3 (patch)
treed66faa3279486d2e8ad72bf70e7ef522460372a0 /data/patches/torbrowser-bug-12811-2.patch
parent2732de330618bc29b7ab07f4004d8e84f698cf95 (diff)
Added patches to fix build bugs for Windows, MacOS and Android
Diffstat (limited to 'data/patches/torbrowser-bug-12811-2.patch')
-rw-r--r--data/patches/torbrowser-bug-12811-2.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/data/patches/torbrowser-bug-12811-2.patch b/data/patches/torbrowser-bug-12811-2.patch
new file mode 100644
index 0000000..e80e228
--- /dev/null
+++ b/data/patches/torbrowser-bug-12811-2.patch
@@ -0,0 +1,33 @@
+commit 73a628a5cebfa6dae1fca4c5fde072376ce4d06f
+Author: Georg Koppen <gk at torproject.org>
+Date: Fri Sep 12 09:37:39 2014 +0000
+
+ Bug 12811: Add MOZ_D3DCOMPILER_DLL iff available.
+
+ It seems MOZ_D3DCOMPILER_DLL is not avilable when compiling with
+ mingw-w64. Trying to include it nevertheless breaks the packaging step
+ as `@BINPATH@/@MOZ_D3DCOMPILER_DLL@` resolves to `bin/` which results
+ in including all the things beginning with a `bin/` (again) which is
+ treated as an error in case they got already included.
+
+ This got fixed more or less by accident by bug 999260 which did not make
+ it into ESR 31 (https://hg.mozilla.org/mozilla-central/rev/8b48386fc226).
+---
+ browser/installer/package-manifest.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
+index 521538f..c9117cf 100644
+--- a/browser/installer/package-manifest.in
++++ b/browser/installer/package-manifest.in
+@@ -597,8 +597,10 @@
+ #ifdef MOZ_ANGLE_RENDERER
+ @BINPATH@/libEGL.dll
+ @BINPATH@/libGLESv2.dll
++#ifdef MOZ_D3DCOMPILER_DLL_PATH
+ @BINPATH@/@MOZ_D3DCOMPILER_DLL@
+ #endif
++#endif
+
+ ; [Browser Chrome Files]
+ @BINPATH@/browser/chrome.manifest