mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 20:25:17 +03:00
16 lines
542 B
Diff
16 lines
542 B
Diff
This patch fix compatibility between scummvm/forbidden security enforcement
|
|
and fortify-headers. The first is meant to avoid direct access to system
|
|
calls for scummvm to be fully portable on a lot of platforms.
|
|
|
|
--- a/common/forbidden.h
|
|
+++ b/common/forbidden.h
|
|
@@ -39,6 +39,9 @@
|
|
* measure. Especially new code should avoid this at all costs.
|
|
*/
|
|
|
|
+// Disable symbol overrides so that we can use system headers.
|
|
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
|
|
+
|
|
#ifndef FORBIDDEN_SYMBOL_ALLOW_ALL
|
|
|
|
// Make sure scummsys.h is always included first
|