firefox: add patch to fix GenerateCSS{PropsGenerated,2PropertiesWebIDL}.py
This commit is contained in:
parent
ecf75b7527
commit
f0722b1292
1 changed files with 23 additions and 0 deletions
23
srcpkgs/firefox/patches/fix-python-foo.patch
Normal file
23
srcpkgs/firefox/patches/fix-python-foo.patch
Normal file
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue