File: make_documentation_reproducible.patch

package info (click to toggle)
pam 1.1.8-3.6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,800 kB
  • ctags: 2,930
  • sloc: ansic: 31,350; xml: 21,611; sh: 11,344; makefile: 1,563; perl: 893; yacc: 408; lex: 70; sed: 16
file content (28 lines) | stat: -rw-r--r-- 748 bytes parent folder | download
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