diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-28 07:08:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-28 07:08:19 +0000 |
commit | f455010323674dc87f8d74e867c0468f3b82bdfb (patch) | |
tree | 50e1c4453efa00f8a164a4126a6762927c1a8e93 /debian/patches/debian/0001-do-not-update-copyright-year.patch | |
parent | Adding upstream version 5.2.3+dfsg. (diff) | |
download | bootstrap-html-f455010323674dc87f8d74e867c0468f3b82bdfb.tar.xz bootstrap-html-f455010323674dc87f8d74e867c0468f3b82bdfb.zip |
Adding debian version 5.2.3+dfsg-1.debian/5.2.3+dfsg-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian/0001-do-not-update-copyright-year.patch')
-rw-r--r-- | debian/patches/debian/0001-do-not-update-copyright-year.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-do-not-update-copyright-year.patch b/debian/patches/debian/0001-do-not-update-copyright-year.patch new file mode 100644 index 0000000..d71507e --- /dev/null +++ b/debian/patches/debian/0001-do-not-update-copyright-year.patch @@ -0,0 +1,15 @@ +Author: Xavier Guimard <yadd@debian.org> +Description: Avoi updating copyright year during build to allow reproducible builds. + +diff -Naurp bootstrap-html.orig/build/banner.js bootstrap-html/build/banner.js +--- bootstrap-html.orig/build/banner.js ++++ bootstrap-html/build/banner.js +@@ -6,7 +6,7 @@ const year = new Date().getFullYear() + function getBanner(pluginFilename) { + return `/*! + * Bootstrap${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage}) +- * Copyright 2011-${year} ${pkg.author} ++ * Copyright 2011-2023 ${pkg.author} + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */` + } |