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
