summaryrefslogtreecommitdiff
path: root/user/firefox-esr/jpeg-link.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-16 00:48:02 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-16 00:48:02 +0000
commit032d4ce8dfbf86b3d18d9d91aec917b5824f1aad (patch)
tree6c14f0882f4fe90f15c0e2f26468a1e728c09e69 /user/firefox-esr/jpeg-link.patch
parent6c396377a366df48d4d9a87c522bd3f237819d7c (diff)
downloadpackages-032d4ce8dfbf86b3d18d9d91aec917b5824f1aad.tar.gz
packages-032d4ce8dfbf86b3d18d9d91aec917b5824f1aad.tar.bz2
packages-032d4ce8dfbf86b3d18d9d91aec917b5824f1aad.tar.xz
packages-032d4ce8dfbf86b3d18d9d91aec917b5824f1aad.zip
user/firefox-esr: Dynamically link libjpeg-turbo to prevent future CVE catastrophes
Diffstat (limited to 'user/firefox-esr/jpeg-link.patch')
-rw-r--r--user/firefox-esr/jpeg-link.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/firefox-esr/jpeg-link.patch b/user/firefox-esr/jpeg-link.patch
new file mode 100644
index 000000000..8f27e72e4
--- /dev/null
+++ b/user/firefox-esr/jpeg-link.patch
@@ -0,0 +1,15 @@
+--- firefox-68.2.0/toolkit/moz.configure.old 2019-11-11 16:33:48.441920266 +0000
++++ firefox-68.2.0/toolkit/moz.configure 2019-11-11 16:41:36.221754664 +0000
+@@ -1482,9 +1482,9 @@
+ )
+
+ with only_when('--with-system-jpeg'):
+- check_symbol('jpeg_destroy_compress', flags=jpeg_flags.ldflags,
+- onerror=lambda: die('--with-system-jpeg requested but symbol '
+- 'jpeg_destroy_compress not found.'))
++ #check_symbol('jpeg_destroy_compress', flags=jpeg_flags.ldflags,
++ # onerror=lambda: die('--with-system-jpeg requested but symbol '
++ # 'jpeg_destroy_compress not found.'))
+
+ c_compiler.try_compile(
+ includes=[