summaryrefslogtreecommitdiff
path: root/debian/patches/yaml.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/yaml.patch')
-rw-r--r--debian/patches/yaml.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/yaml.patch b/debian/patches/yaml.patch
new file mode 100644
index 0000000..6eacc88
--- /dev/null
+++ b/debian/patches/yaml.patch
@@ -0,0 +1,11 @@
+--- a/lib/carto/mml.js
++++ b/lib/carto/mml.js
+@@ -22,7 +22,7 @@ carto.MML.prototype.load = function load
+ env = {};
+
+ try {
+- mml = yaml.safeLoad(data);
++ mml = yaml.load(data);
+ } catch (err) {
+ env = {};
+ util.error(env, {