[Pkg-javascript-commits] [acorn] 06/06: Unbreak the compilation with node-es6-module-transpiler
Julien Puydt
julien.puydt at laposte.net
Fri Aug 18 07:45:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository acorn.
commit 9221d1c6708f5ff025b61f3bc73e40e472f72a1c
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Fri Aug 18 09:42:59 2017 +0200
Unbreak the compilation with node-es6-module-transpiler
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/unbreak_build | 11 +++++++++++
3 files changed, 13 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 48510a6..cef2961 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ acorn (5.1.1-1) unstable; urgency=medium
* New upstream release.
* Drop all patches and depend on nodejs (> 6) (Closes: #872480).
+ * Add a patch to unbreak the compilation with node-es6-module-transpiler.
-- Julien Puydt <julien.puydt at laposte.net> Fri, 18 Aug 2017 09:02:29 +0200
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c628a67
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+unbreak_build
diff --git a/debian/patches/unbreak_build b/debian/patches/unbreak_build
new file mode 100644
index 0000000..4452a74
--- /dev/null
+++ b/debian/patches/unbreak_build
@@ -0,0 +1,11 @@
+--- a/src/expression.js
++++ b/src/expression.js
+@@ -512,7 +512,7 @@
+ return this.finishNode(elem, "TemplateElement")
+ }
+
+-pp.parseTemplate = function({isTagged = false} = {}) {
++pp.parseTemplate = function(isTagged = false) {
+ let node = this.startNode()
+ this.next()
+ node.expressions = []
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/acorn.git
More information about the Pkg-javascript-commits
mailing list