Source: modernizr
Version: 2.6.2+ds1-1
Severity: minor

Dear Maintainer,

I have notices that your package libjs-modernizr does not build
reproducibly from the modernizr source package because of
nondeterministic input order given by shell globbing.
See for more

I have attached a patch that makes the build reproducible for me.

Many thanks,
diff --git a/debian/rules b/debian/rules
index bf23418..e49a481 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ DEBVER := $(UPVER)+ds1
 	dh $@
-	cat feature-detects/*.js > feature-detects.js
+	find feature-detects -name '*.js' | LC_ALL=C sort | xargs cat > feature-detects.js
 	uglifyjs -o modernizr.min.js modernizr.js
 	# Drop copyright from minified version since it would get
Pkg-javascript-devel mailing list

Reply via email to