diff options
Diffstat (limited to '')
-rw-r--r-- | external/skia/fix-SkDebugf-link-error.patch.1 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/external/skia/fix-SkDebugf-link-error.patch.1 b/external/skia/fix-SkDebugf-link-error.patch.1 new file mode 100644 index 0000000000..989e8c4078 --- /dev/null +++ b/external/skia/fix-SkDebugf-link-error.patch.1 @@ -0,0 +1,20 @@ +diff -ur skia.org/src/ports/SkDebug_stdio.cpp skia/src/ports/SkDebug_stdio.cpp +--- skia.org/src/ports/SkDebug_stdio.cpp 2023-07-09 19:30:53.272682125 +0200 ++++ skia/src/ports/SkDebug_stdio.cpp 2023-07-09 19:34:44.812723870 +0200 +@@ -5,6 +5,7 @@ + * found in the LICENSE file. + */ + ++#include "include/private/base/SkAPI.h" + #include "include/private/base/SkFeatures.h" + #include "include/private/base/SkLoadUserConfig.h" + +@@ -13,7 +14,7 @@ + #include <stdarg.h> + #include <stdio.h> + +-void SkDebugf(const char format[], ...) { ++SK_API void SkDebugf(const char format[], ...) { + va_list args; + va_start(args, format); + #pragma GCC diagnostic push |