SHA256
6
0
forked from pool/wv
wv/non-latin-latex.patch

27 lines
683 B
Diff

#! /bin/sh /usr/share/dpatch/dpatch-run
## non-latin-latex.dpatch by Peter Novodvorsky <nidd@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: text.c (wvConvertUnicodeToLaTeX): Disable debugging code which
## DP: causes spurious output for non-Latin-1 files (#171193).
@DPATCH@
diff -urNad wv-1.2.1~/text.c wv-1.2.1/text.c
--- wv-1.2.1~/text.c 2006-03-17 22:36:46.000000000 +0100
+++ wv-1.2.1/text.c 2006-03-17 22:38:28.000000000 +0100
@@ -1944,12 +1944,14 @@
return (1);
}
+#ifdef DEBUG
/* Debugging aid: */
if (char16 >= 0x80)
{
printf ("[%x]", char16);
return (1);
}
+#endif
return (0);
}