Control: tags 750716 + pending Dear maintainer,
I've prepared an NMU for coffeescript (versioned as 1.4.0-1.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Regards. diff -Nru coffeescript-1.4.0/debian/changelog coffeescript-1.4.0/debian/changelog --- coffeescript-1.4.0/debian/changelog 2012-11-14 15:18:35.000000000 +0100 +++ coffeescript-1.4.0/debian/changelog 2014-11-22 13:05:05.000000000 +0100 @@ -1,3 +1,11 @@ +coffeescript (1.4.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS against uglify 2.x series" by applying patch from BTS. + (Closes: #750716) + + -- Tobias Frost <t...@debian.org> Sat, 22 Nov 2014 13:05:05 +0100 + coffeescript (1.4.0-1) unstable; urgency=low * New upstream source. diff -Nru coffeescript-1.4.0/debian/patches/fix-750716.patch coffeescript-1.4.0/debian/patches/fix-750716.patch --- coffeescript-1.4.0/debian/patches/fix-750716.patch 1970-01-01 01:00:00.000000000 +0100 +++ coffeescript-1.4.0/debian/patches/fix-750716.patch 2014-11-22 13:01:04.000000000 +0100 @@ -0,0 +1,20 @@ +Description: Fix for FTBFS against uglify 2.x series +Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750716 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: coffeescript-1.4.0/Cakefile +=================================================================== +--- coffeescript-1.4.0.orig/Cakefile ++++ coffeescript-1.4.0/Cakefile +@@ -125,8 +125,9 @@ task 'build:browser', 'rebuild the merge + }(this)); + """ + unless process.env.MINIFY is 'false' +- {parser, uglify} = require 'uglify-js' +- code = uglify.gen_code uglify.ast_squeeze uglify.ast_mangle parser.parse code ++ uglify = require 'uglify-js' ++ result = uglify.minify(code, {fromString: true}); ++ code = result.code + fs.writeFileSync 'extras/coffee-script.js', header + '\n' + code + + diff -Nru coffeescript-1.4.0/debian/patches/series coffeescript-1.4.0/debian/patches/series --- coffeescript-1.4.0/debian/patches/series 2012-08-06 02:31:18.000000000 +0200 +++ coffeescript-1.4.0/debian/patches/series 2014-11-22 12:58:30.000000000 +0100 @@ -1,3 +1,4 @@ support-system-wide-install.patch avoid-tests-during-build.patch use_usr-bin-nodejs.patch +fix-750716.patch -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org