--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2019-12-07 09:50:17.251183113 +0000 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2019-12-07 + +--- node-chart.js-2.9.3+dfsg.orig/rollup.config.js ++++ node-chart.js-2.9.3+dfsg/rollup.config.js +@@ -11,7 +11,7 @@ const input = 'src/index.js'; + const banner = `/*! + * Chart.js v${pkg.version} + * ${pkg.homepage} +- * (c) ${new Date().getFullYear()} Chart.js Contributors ++ * (c) ${(new Date(process.env.SOURCE_DATE_EPOCH ? (process.env.SOURCE_DATE_EPOCH * 1000) : new Date().getTime())).getFullYear()} Chart.js Contributors + * Released under the MIT License + */`; + --- a/debian/patches/series 2019-12-07 09:24:09.053762957 +0000 --- b/debian/patches/series 2019-12-07 09:50:14.286987118 +0000 @@ -1,3 +1,4 @@ workaroud-css-generator-error.patch #fix-rollup-resolve-paths.patch fix-rollup-resolve-paths.patch +reproducible-build.patch