> The attached patch removes these lines.

Okay, really attaching it now :-|

Tschoeeee

        Roland
diff -u aspell-0.60.5/debian/patches/00list aspell-0.60.5/debian/patches/00list
--- aspell-0.60.5/debian/patches/00list
+++ aspell-0.60.5/debian/patches/00list
@@ -3,0 +4 @@
+15_removedebug_munchlist
diff -u aspell-0.60.5/debian/changelog aspell-0.60.5/debian/changelog
--- aspell-0.60.5/debian/changelog
+++ aspell-0.60.5/debian/changelog
@@ -1,3 +1,10 @@
+aspell (0.60.5-1.1) unstable; urgency=low
+
+  * NMU.
+  * Get rid of debug code from munchlist output (Closes: #428285).
+
+ -- Roland Rosenfeld <[EMAIL PROTECTED]>  Sun, 29 Jul 2007 00:03:46 +0200
+
 aspell (0.60.5-1) unstable; urgency=low
 
   * New upstream release
only in patch2:
unchanged:
--- aspell-0.60.5.orig/debian/patches/15_removedebug_munchlist.dpatch
+++ aspell-0.60.5/debian/patches/15_removedebug_munchlist.dpatch
@@ -0,0 +1,35 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 15_removedebug_munchlist.dpatch by Roland Rosenfeld <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Get rid of debug code from munchlist output (Closes: #428285).
+
[EMAIL PROTECTED]@
+diff -urNad aspell-0.60.5~/prog/aspell.cpp aspell-0.60.5/prog/aspell.cpp
+--- aspell-0.60.5~/prog/aspell.cpp
++++ aspell-0.60.5/prog/aspell.cpp
+@@ -2527,9 +2527,11 @@
+     }
+ 
+     to_keep_exp.resize(entries.size());
++#if 0 // Seems to be debug code
+     for (int i = 0; i != to_keep_exp.size(); ++i) {
+       printf(">>> %d %d\n", i, (int)to_keep_exp[i]);
+     }
++#endif
+ 
+     // Store the expansion of each base word in a bit vector and
+     // add it to the working set
+@@ -2691,10 +2693,12 @@
+ 
+     // Finally print the resulting list
+ 
++#if 0 // Seems to be debug code
+     printf("XXX %d %d\n", to_keep.size(), to_keep_exp.size());
+     for (int i = 0; i != to_keep_exp.size(); ++i) {
+       printf(">>> %d %d\n", i, (int)to_keep_exp[i]);
+     }
++#endif
+ 
+     for (unsigned i = 0; i != to_keep.size(); ++i) {
+       COUT << oconv(to_keep[i]->word);

Reply via email to