summaryrefslogtreecommitdiff
path: root/nonprism/iceweasel-hardened/enable-object-directory-paths.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-19 01:32:30 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-19 01:32:30 -0300
commitf1af63ba6c3ffcc18c1a33066451905cffeb284e (patch)
treee3a607c8328e9fdbb33487d2aa88d310c0c5c156 /nonprism/iceweasel-hardened/enable-object-directory-paths.patch
parentac18d429e0ccad247b95ddda051710ebfa26cb55 (diff)
downloadabslibre-f1af63ba6c3ffcc18c1a33066451905cffeb284e.tar.gz
abslibre-f1af63ba6c3ffcc18c1a33066451905cffeb284e.tar.bz2
abslibre-f1af63ba6c3ffcc18c1a33066451905cffeb284e.zip
move hardened packages to [nonprism] -> https://lists.parabola.nu/pipermail/dev/2016-October/004563.html
Diffstat (limited to 'nonprism/iceweasel-hardened/enable-object-directory-paths.patch')
-rw-r--r--nonprism/iceweasel-hardened/enable-object-directory-paths.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nonprism/iceweasel-hardened/enable-object-directory-paths.patch b/nonprism/iceweasel-hardened/enable-object-directory-paths.patch
new file mode 100644
index 000000000..bc938c66e
--- /dev/null
+++ b/nonprism/iceweasel-hardened/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)