summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/debian/0001-do-not-update-copyright-year.patch15
-rw-r--r--debian/patches/debian/0002-dont-check-for-caniuse-lite-update.patch16
-rw-r--r--debian/patches/series2
3 files changed, 33 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)
+ */`
+ }
diff --git a/debian/patches/debian/0002-dont-check-for-caniuse-lite-update.patch b/debian/patches/debian/0002-dont-check-for-caniuse-lite-update.patch
new file mode 100644
index 0000000..00c1075
--- /dev/null
+++ b/debian/patches/debian/0002-dont-check-for-caniuse-lite-update.patch
@@ -0,0 +1,16 @@
+Author: Pirate Praveen <praveen@onenetbeyond.org>
+Description: don't check for node-canuise-lite update (Closes: #991651).
+
+diff -Naurp bootstrap-html.orig/.babelrc.js bootstrap-html/.babelrc.js
+--- bootstrap-html.orig/.babelrc.js
++++ bootstrap-html/.babelrc.js
+@@ -5,7 +5,8 @@ module.exports = {
+ {
+ loose: true,
+ bugfixes: true,
+- modules: false
++ modules: false,
++ ignoreBrowserslistConfig: true
+ }
+ ]
+ ]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b98c713
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+debian/0001-do-not-update-copyright-year.patch
+debian/0002-dont-check-for-caniuse-lite-update.patch