office-gobmx/external/skia/fix-SkDebugf-link-error.patch.1
Noel Grandin 4e9a21bb0e Update to skia m116
The sort comparison patch seems to have been upstreamed.

Lots of patches needed to be redone.

Followed the skia release notes in replacing calls
to SkCanvas::flush and SkSurface::flushAndSubmit.

Change-Id: I13179565b95cc0720b4548cd4baecc5adacc7133
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174554
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-06 21:06:40 +02:00

20 lines
696 B
Groff

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/SkDebug.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