summaryrefslogtreecommitdiff
path: root/firefox/0002-Fortify-sources-properly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'firefox/0002-Fortify-sources-properly.patch')
-rw-r--r--firefox/0002-Fortify-sources-properly.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/firefox/0002-Fortify-sources-properly.patch b/firefox/0002-Fortify-sources-properly.patch
new file mode 100644
index 000000000..3abe8b01b
--- /dev/null
+++ b/firefox/0002-Fortify-sources-properly.patch
@@ -0,0 +1,41 @@
+From a1395e97ffdbc9404a343b76fd731dc7ef385ffc Mon Sep 17 00:00:00 2001
+From: "Jory A. Pratt" <anarchy@gentoo.org>
+Date: Mon, 6 Apr 2020 19:16:36 +0200
+Subject: [PATCH 02/30] Fortify sources properly
+
+Ensure we fortify properly, features.h is pulled in via fortification.
+
+Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
+---
+ config/system-headers.mozbuild | 1 -
+ third_party/sipcc/sdp_os_defs.h | 3 ---
+ 2 files changed, 4 deletions(-)
+
+diff --git a/config/system-headers.mozbuild b/config/system-headers.mozbuild
+index a1b58eb59b..ae0c9d6d7c 100644
+--- a/config/system-headers.mozbuild
++++ b/config/system-headers.mozbuild
+@@ -229,7 +229,6 @@ system_headers = [
+ 'execinfo.h',
+ 'extras.h',
+ 'fcntl.h',
+- 'features.h',
+ 'fenv.h',
+ 'ffi.h',
+ 'fibdef.h',
+diff --git a/third_party/sipcc/sdp_os_defs.h b/third_party/sipcc/sdp_os_defs.h
+index 16c9b33329..df38d9336c 100644
+--- a/third_party/sipcc/sdp_os_defs.h
++++ b/third_party/sipcc/sdp_os_defs.h
+@@ -20,8 +20,5 @@
+ typedef uint8_t tinybool;
+ typedef unsigned short ushort;
+ typedef unsigned long ulong;
+-#ifndef __GNUC_STDC_INLINE__
+-#define inline
+-#endif
+
+ #endif /* _SDP_OS_DEFS_H_ */
+--
+2.34.1
+

Generated by cgit