aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/make_documentation_reproducible.patch
diff options
context:
space:
mode:
authorSam Hartman <hartmans@debian.org>2023-09-11 13:59:49 -0600
committerSam Hartman <hartmans@debian.org>2023-09-11 13:59:49 -0600
commitb99a4f53dcf4725e4b3b861fd8a28c0156a8a147 (patch)
treebee6fb35bc2f39151baa07c0900d84edc0586252 /debian/patches/make_documentation_reproducible.patch
parent69c75a3fc72c1ec309b5bcca8dd82f59831968cc (diff)
downloadpam-b99a4f53dcf4725e4b3b861fd8a28c0156a8a147.tar.gz
pam-b99a4f53dcf4725e4b3b861fd8a28c0156a8a147.tar.bz2
pam-b99a4f53dcf4725e4b3b861fd8a28c0156a8a147.zip
Use gbp pq for patches, Closes: #995239
Diffstat (limited to 'debian/patches/make_documentation_reproducible.patch')
-rw-r--r--debian/patches/make_documentation_reproducible.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/make_documentation_reproducible.patch b/debian/patches/make_documentation_reproducible.patch
new file mode 100644
index 00000000..b6a4bfe3
--- /dev/null
+++ b/debian/patches/make_documentation_reproducible.patch
@@ -0,0 +1,19 @@
+Description: Make documentation reproducible
+ Add LC_ALL=C.UTF-8 to w3m to avoid changes in the output when build the
+ documentation with different locales.
+Author: Juan Picca <jumapico@gmail.com>, Steve Langasek <vorlon@debian.org>
+Last-Update: 2019-01-06
+
+Index: pam/configure.ac
+===================================================================
+--- pam.orig/configure.ac
++++ pam/configure.ac
+@@ -585,7 +585,7 @@
+
+ AC_PATH_PROG([BROWSER], [w3m])
+ if test -n "$BROWSER"; then
+- BROWSER="$BROWSER -T text/html -dump"
++ BROWSER="LC_ALL=C.UTF-8 $BROWSER -T text/html -dump"
+ else
+ AC_PATH_PROG([BROWSER], [elinks])
+ if test -n "$BROWSER"; then