From f0722b1292c0f6cdcc1e8639f459c72a06469a1e Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 24 Jan 2017 03:15:35 +0100 Subject: [PATCH] firefox: add patch to fix GenerateCSS{PropsGenerated,2PropertiesWebIDL}.py --- srcpkgs/firefox/patches/fix-python-foo.patch | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/firefox/patches/fix-python-foo.patch diff --git a/srcpkgs/firefox/patches/fix-python-foo.patch b/srcpkgs/firefox/patches/fix-python-foo.patch new file mode 100644 index 00000000000..58505775f23 --- /dev/null +++ b/srcpkgs/firefox/patches/fix-python-foo.patch @@ -0,0 +1,23 @@ +reverted from https://hg.mozilla.org/mozilla-central/rev/aa63a2a40325 +--- dom/bindings/GenerateCSS2PropertiesWebIDL.py.orig ++++ dom/bindings/GenerateCSS2PropertiesWebIDL.py +@@ -16,7 +16,7 @@ + return " [%s] attribute DOMString %s;\n" % (", ".join(extendedAttrs), + propName) + def generate(output, idlFilename, preprocessorHeader): +- cpp = list(buildconfig.substs['CPP']) ++ cpp = shellutil.split(buildconfig.substs['CPP']) + cpp += shellutil.split(buildconfig.substs['ACDEFINES']) + cpp.append(preprocessorHeader) + preprocessed = subprocess.check_output(cpp) +--- layout/style/GenerateCSSPropsGenerated.py.orig ++++ layout/style/GenerateCSSPropsGenerated.py +@@ -10,7 +10,7 @@ + from mozbuild import shellutil + + def get_properties(preprocessorHeader): +- cpp = list(buildconfig.substs['CPP']) ++ cpp = shellutil.split(buildconfig.substs['CPP']) + cpp += shellutil.split(buildconfig.substs['ACDEFINES']) + cpp.append(preprocessorHeader) + preprocessed = subprocess.check_output(cpp)