summaryrefslogtreecommitdiffstats
path: root/debian/patches/50_LANG.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/50_LANG.diff')
-rw-r--r--debian/patches/50_LANG.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/50_LANG.diff b/debian/patches/50_LANG.diff
new file mode 100644
index 0000000..532ead7
--- /dev/null
+++ b/debian/patches/50_LANG.diff
@@ -0,0 +1,16 @@
+From: LaMont Jones <lamont@debian.org>
+Subject: Set LANG=C for HTML documentation build
+Forwarded: not-needed
+Index: postfix/html/Makefile.in
+===================================================================
+--- postfix.orig/html/Makefile.in 2016-02-16 13:57:02.847893144 -0700
++++ postfix/html/Makefile.in 2016-02-16 17:51:31.873418586 -0700
+@@ -25,7 +25,7 @@
+ postfix-wrapper.5.html sqlite_table.5.html socketmap_table.5.html
+ OTHER = postfix-manuals.html
+ AWK = awk '{ print; if (NR == 2) print ".pl 99999\n.ll 78" }'
+-MAN2HTML = man2html -t "Postfix manual - `IFS=.; set \`echo $@\`; echo \"$$1($$2)\"`"
++MAN2HTML = LANG=C man2html -t "Postfix manual - `IFS=.; set \`echo $@\`; echo \"$$1($$2)\"`"
+ NROFF = LANG=C GROFF_NO_SGR=1 nroff
+
+ update: $(DAEMONS) $(COMMANDS) $(CONFIG) $(OTHER)