]> git.pld-linux.org Git - packages/firefox.git/blobdiff - system-cairo.patch
- fix building with system cairo (bundled one is very old)
[packages/firefox.git] / system-cairo.patch
diff --git a/system-cairo.patch b/system-cairo.patch
new file mode 100644 (file)
index 0000000..930053a
--- /dev/null
@@ -0,0 +1,11 @@
+--- mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/2d/ScaledFontFontconfig.cpp~  2018-03-22 21:46:41.000000000 +0100
++++ mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/2d/ScaledFontFontconfig.cpp   2018-03-31 12:33:56.794222766 +0200
+@@ -397,7 +397,7 @@
+   FcPatternAddDouble(pattern, FC_PIXEL_SIZE, aSize);
+   aInstanceData.SetupPattern(pattern);
+-  cairo_font_face_t* font = cairo_ft_font_face_create_for_pattern(pattern, nullptr, 0);
++  cairo_font_face_t* font = cairo_ft_font_face_create_for_pattern(pattern);
+   if (cairo_font_face_status(font) != CAIRO_STATUS_SUCCESS) {
+     gfxWarning() << "Failed creating Cairo font face for Fontconfig pattern";
+     FcPatternDestroy(pattern);
This page took 0.079048 seconds and 4 git commands to generate.