From abd45cf2f205e787dfe57de410c014967cd681c6 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 31 Oct 2018 19:01:34 +0000 Subject: www/firefox: unbreak with cbindgen 0.6.7 (after r483566) dist/include/nsStyleStruct.h:1896:3: error: unknown type name 'StyleFillRule', err: true dist/include/nsStyleStruct.h:2134:12: error: no type named 'StyleDisplay' in namespace 'mozilla', err: true PR: 229893 Reported by: Piotr Kubaj, cmt Obtained from: upstream Pointy hat to: jbeich --- www/firefox/files/patch-bug1503401 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 www/firefox/files/patch-bug1503401 diff --git a/www/firefox/files/patch-bug1503401 b/www/firefox/files/patch-bug1503401 new file mode 100644 index 000000000000..7c574d322438 --- /dev/null +++ b/www/firefox/files/patch-bug1503401 @@ -0,0 +1,29 @@ +commit b85791110fe6 +Author: Emilio Cobos Álvarez +Date: Tue Oct 30 22:21:52 2018 +0100 + + Keep mozilla-release building with newer cbindgen versions. +--- + servo/components/style/cbindgen.toml | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git servo/components/style/cbindgen.toml servo/components/style/cbindgen.toml +index 46162e43db5e..49872e88b7d9 100644 +--- servo/components/style/cbindgen.toml ++++ servo/components/style/cbindgen.toml +@@ -24,10 +24,10 @@ derive_helper_methods = true + [export] + prefix = "Style" + include = [ +- "StyleAppearance", +- "StyleDisplay", +- "StyleDisplayMode", +- "StyleFillRule", +- "StylePathCommand" ++ "Appearance", ++ "Display", ++ "DisplayMode", ++ "FillRule", ++ "PathCommand" + ] + item_types = ["enums", "structs", "typedefs"] -- cgit v1.2.3