aboutsummaryrefslogtreecommitdiff
path: root/patches-applied/make_documentation_reproducible.patch
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2022-04-25 16:12:04 -0700
committerSteve Langasek <vorlon@debian.org>2022-04-25 16:12:04 -0700
commit3cd1f867ea5668cb8de1f99a68618b7601a99f6a (patch)
tree9225d4c06c9a5fc9ac08b359509f4ea3b3a73404 /patches-applied/make_documentation_reproducible.patch
downloadpam-3cd1f867ea5668cb8de1f99a68618b7601a99f6a.tar.gz
pam-3cd1f867ea5668cb8de1f99a68618b7601a99f6a.tar.bz2
pam-3cd1f867ea5668cb8de1f99a68618b7601a99f6a.zip
Import pam_1.4.0-13.debian.tar.xz
[dgit import tarball pam 1.4.0-13 pam_1.4.0-13.debian.tar.xz]
Diffstat (limited to 'patches-applied/make_documentation_reproducible.patch')
-rw-r--r--patches-applied/make_documentation_reproducible.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches-applied/make_documentation_reproducible.patch b/patches-applied/make_documentation_reproducible.patch
new file mode 100644
index 00000000..ed15df13
--- /dev/null
+++ b/patches-applied/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
+@@ -619,7 +619,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