From e82653dbdcb4cb19b07d6d605c0accabea2a5e92 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 1 Nov 2018 05:53:12 +0000 Subject: www/firefox: restore cbindgen < 0.6.7 support (after r483606) dist/include/nsStyleStruct.h:1896:3: error: unknown type name 'StyleFillRule' dist/include/nsStyleStruct.h:2134:12: error: no type named 'StyleDisplay' in namespace 'mozilla' PR: 229893 Reported by: yuripv Obtained from: upstream --- www/firefox/files/patch-bug1503401 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/www/firefox/files/patch-bug1503401 b/www/firefox/files/patch-bug1503401 index 7c574d322438..ed8aee3a40b9 100644 --- a/www/firefox/files/patch-bug1503401 +++ b/www/firefox/files/patch-bug1503401 @@ -11,15 +11,13 @@ diff --git servo/components/style/cbindgen.toml servo/components/style/cbindgen. 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", +@@ -28,6 +28,12 @@ include = [ + "StyleDisplay", + "StyleDisplayMode", + "StyleFillRule", - "StylePathCommand" ++ "StylePathCommand", ++ + "Appearance", + "Display", + "DisplayMode", -- cgit v1.2.3