[Pkg-javascript-commits] [node-mocha] 01/04: Add 0004-reproducible_build.patch

Paul Mathijs Gevers elbrus at moszumanska.debian.org
Sun Mar 26 19:58:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

elbrus pushed a commit to branch debian/1.20
in repository node-mocha.

commit 963867a197fbaa8276b3ff527c2de62e8f8da81c
Author: Paul Gevers <elbrus at debian.org>
Date:   Sun Mar 26 21:46:43 2017 +0200

    Add 0004-reproducible_build.patch
    
    Closes: #856807
    Thanks to Chris Lamb
---
 debian/patches/0004-reproducible_build.patch | 15 +++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/0004-reproducible_build.patch b/debian/patches/0004-reproducible_build.patch
new file mode 100644
index 0000000..b6a9b10
--- /dev/null
+++ b/debian/patches/0004-reproducible_build.patch
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2017-03-04
+
+--- node-mocha-1.20.1.orig/Makefile
++++ node-mocha-1.20.1/Makefile
+@@ -1,7 +1,7 @@
+ 
+ REPORTER ?= dot
+ TM_BUNDLE = JavaScript\ mocha.tmbundle
+-SRC = $(shell find lib -name "*.js" -type f | sort)
++SRC = $(shell find lib -name "*.js" -type f | LC_ALL=C sort)
+ SUPPORT = $(wildcard support/*.js)
+ 
+ all: mocha.js
diff --git a/debian/patches/series b/debian/patches/series
index 279c466..aa6b38f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ replace-stdio-customfds.patch
 0003_images_in_usr_share.patch
 register-coffeescript.patch
 make-tests-more-reliable-on-build-daemons.patch
+0004-reproducible_build.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocha.git



More information about the Pkg-javascript-commits mailing list