skia: fix missing SkFontMgr_New_FontConfig
This commit is contained in:
parent
04a8c1e764
commit
5f27dd5e5a
12
pkgs/by-name/sk/skia/export-SkFontMgr_New_FontConfig.patch
Normal file
12
pkgs/by-name/sk/skia/export-SkFontMgr_New_FontConfig.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/ports/SkFontMgr_fontconfig.cpp b/src/ports/SkFontMgr_fontconfig.cpp
|
||||
index 7d6fd62..2cca01d 100644
|
||||
--- a/src/ports/SkFontMgr_fontconfig.cpp
|
||||
+++ b/src/ports/SkFontMgr_fontconfig.cpp
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "include/core/SkString.h"
|
||||
#include "include/core/SkTypeface.h"
|
||||
#include "include/core/SkTypes.h"
|
||||
+#include "include/ports/SkFontMgr_fontconfig.h"
|
||||
#include "include/private/base/SkDebug.h"
|
||||
#include "include/private/base/SkMutex.h"
|
||||
#include "include/private/base/SkTArray.h"
|
@ -35,6 +35,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-zHfv4OZK/nVJc2rl+dBSCc4f6qndpAKcFZtThw06+LY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Package ladybird uses SkFontMgr_New_FontConfig, but this version of skia
|
||||
# does not export it.
|
||||
# https://skia.googlesource.com/skia/+/4bf56844d4a661d7317882cc545ecd978715a11e%5E!/?
|
||||
./export-SkFontMgr_New_FontConfig.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# System zlib detection bug workaround
|
||||
substituteInPlace BUILD.gn \
|
||||
|
Loading…
Reference in New Issue
Block a user