Package: wv / 1.2.9-4.2

non-latin-latex.patch Patch series | 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
#! /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);
 }