contrib/firefox/0002-Fortify-sources-properly.patch
2022-09-19 22:37:26 +10:00

42 lines
1.2 KiB
Diff

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