From f455010323674dc87f8d74e867c0468f3b82bdfb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 28 Jan 2023 08:08:19 +0100 Subject: Adding debian version 5.2.3+dfsg-1. Signed-off-by: Daniel Baumann --- .../debian/0001-do-not-update-copyright-year.patch | 15 +++++++++++++++ .../debian/0002-dont-check-for-caniuse-lite-update.patch | 16 ++++++++++++++++ debian/patches/series | 2 ++ 3 files changed, 33 insertions(+) create mode 100644 debian/patches/debian/0001-do-not-update-copyright-year.patch create mode 100644 debian/patches/debian/0002-dont-check-for-caniuse-lite-update.patch create mode 100644 debian/patches/series (limited to 'debian/patches') 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 +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 +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 -- cgit v1.2.3