Package: pam
Version: 1.1.8-3.1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: locale

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that pam could not be built reproducibly.

The attached patch removes differences when using different locale
values. Once applied, pam can be built reproducibly in our current
experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds
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 <jumap...@gmail.com>
Last-Update: 2015-07-11
---
--- a/configure
+++ b/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
--- a/configure.in
+++ b/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

Reply via email to