summaryrefslogtreecommitdiff
path: root/debian/patches-applied/make_documentation_reproducible.patch
blob: b6a4bfe37647a84d5e227ab04aca4247718b3154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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