summaryrefslogtreecommitdiff
path: root/debian/patches-applied/make_documentation_reproducible.patch
blob: 26f16503c34b11440abe5c22de0d8e67f733afaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Make documentation reproducible
 Add LC_ALL=C to w3m to avoid changes in the output when build the
 documentation with different locales.
Author: Juan Picca <jumapico@gmail.com>
Last-Update: 2015-07-11

--- pam.orig/configure
+++ pam/configure
@@ -15162,7 +15162,7 @@ fi
 
 
 if test ! -z "$BROWSER"; then
-     BROWSER="$BROWSER -T text/html -dump"
+     BROWSER="LC_ALL=C $BROWSER -T text/html -dump"
 else
      enable_docu=no
 fi
--- pam.orig/configure.in
+++ pam/configure.in
@@ -554,7 +554,7 @@ JH_CHECK_XML_CATALOG([http://docbook.sou
 
 AC_PATH_PROG([BROWSER], [w3m])
 if test ! -z "$BROWSER"; then
-     BROWSER="$BROWSER -T text/html -dump"
+     BROWSER="LC_ALL=C $BROWSER -T text/html -dump"
 else
      enable_docu=no
 fi