summaryrefslogtreecommitdiff
path: root/libre/iceweasel/enable-object-directory-paths.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-29 01:30:41 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-29 01:37:00 -0300
commit6a6afd7e05a0cf86723ecc7845e65b8a31f43a3b (patch)
treec41112fca5e8a388540de597bd2b60b1c2855e38 /libre/iceweasel/enable-object-directory-paths.patch
parent0f351f4854039bf9c8e309275090682245ecbaf9 (diff)
downloadabslibre-6a6afd7e05a0cf86723ecc7845e65b8a31f43a3b.tar.gz
abslibre-6a6afd7e05a0cf86723ecc7845e65b8a31f43a3b.tar.bz2
abslibre-6a6afd7e05a0cf86723ecc7845e65b8a31f43a3b.zip
iceweasel: enable object directory paths for Iceweasel rebranding
Diffstat (limited to 'libre/iceweasel/enable-object-directory-paths.patch')
-rw-r--r--libre/iceweasel/enable-object-directory-paths.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/iceweasel/enable-object-directory-paths.patch b/libre/iceweasel/enable-object-directory-paths.patch
new file mode 100644
index 000000000..bc938c66e
--- /dev/null
+++ b/libre/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)