summaryrefslogtreecommitdiff
path: root/patches/Rules-quot.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-05-18 07:43:35 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-05-18 07:43:35 +0200
commit9f8889f928ce86ba4a78659d378c6ba29bc9f735 (patch)
treec9567cb0d015b68ce3da8d03472b6443f1cb1ca9 /patches/Rules-quot.patch
parent446e9454b8cbe5b689149415d11d36e88442ca88 (diff)
parent154785ab2d5df7ddc8c2cf813b773c340e5e2aea (diff)
Merge branch 'release/debian/1.0.32-1'debian/1.0.32-1
Diffstat (limited to 'patches/Rules-quot.patch')
-rw-r--r--patches/Rules-quot.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/Rules-quot.patch b/patches/Rules-quot.patch
new file mode 100644
index 0000000..973ed86
--- /dev/null
+++ b/patches/Rules-quot.patch
@@ -0,0 +1,27 @@
+Author: Olaf Meeuwissen
+
+ Add custom options to commands used for generate .po files. This
+ fixes word wrapping inconsistencies when using a custom width.
+
+ Do NOT put this file below po/ as all Rules-* files are included
+ in the po/Makefile *verbatim*!
+
+--- po/Rules-quot.orig 2019-06-30 13:46:34.281392263 +0900
++++ po/Rules-quot 2019-06-30 13:49:05.482142027 +0900
+@@ -22,13 +22,13 @@
+ LC_ALL=C; export LC_ALL; \
+ cd $(srcdir); \
+ if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \
+- | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \
++ | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) $(MSGCONV_OPTIONS) -t UTF-8 | \
+ { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \
+- $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \
++ $(MSGFILTER) $(MSGFILTER_OPTIONS) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \
+ ;; \
+ *) \
+- $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \
++ $(MSGFILTER) $(MSGFILTER_OPTIONS) `echo $$lang | sed -e 's/.*@//'` \
+ ;; \
+ esac } 2>/dev/null > $$tmpdir/$$lang.new.po \
+ ; then \