summaryrefslogtreecommitdiff
path: root/nonprism-testing/iceweasel/enable-object-directory-paths.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-03 19:19:45 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-03 19:20:37 -0300
commit5979725732212f0d7219cb9a9ac2a12bd29c8629 (patch)
tree3f58c1d80061995ddf0e3d4daed0d2b2ae5455cf /nonprism-testing/iceweasel/enable-object-directory-paths.patch
parent6c09995ca9baea1f08b568b02a1adbcabfa1d230 (diff)
ice{dove,weasel}: move to [nonprism-testing]
Diffstat (limited to 'nonprism-testing/iceweasel/enable-object-directory-paths.patch')
-rw-r--r--nonprism-testing/iceweasel/enable-object-directory-paths.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nonprism-testing/iceweasel/enable-object-directory-paths.patch b/nonprism-testing/iceweasel/enable-object-directory-paths.patch
new file mode 100644
index 000000000..bc938c66e
--- /dev/null
+++ b/nonprism-testing/iceweasel/enable-object-directory-paths.patch
@@ -0,0 +1,13 @@
+diff --git a/python/mozbuild/mozbuild/frontend/context.py b/python/mozbuild/mozbuild/frontend/context.py
+index 41ae8ae..dcc3263 100644
+--- a/python/mozbuild/mozbuild/frontend/context.py
++++ b/python/mozbuild/mozbuild/frontend/context.py
+@@ -408,8 +408,6 @@ class Path(ContextDerivedValue, unicode):
+ class SourcePath(Path):
+ """Like Path, but limited to paths in the source directory."""
+ def __init__(self, context, value):
+- if value.startswith('!'):
+- raise ValueError('Object directory paths are not allowed')
+ if value.startswith('%'):
+ raise ValueError('Filesystem absolute paths are not allowed')
+ super(SourcePath, self).__init__(context, value)