tags 625080 + pending
thanks

Dear maintainer,

I've prepared an NMU for fstrcmp (versioned as 0.3.D001-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Schmetterlinge: Auftritt General von Moltke
diff -u fstrcmp-0.3.D001/debian/rules fstrcmp-0.3.D001/debian/rules
--- fstrcmp-0.3.D001/debian/rules
+++ fstrcmp-0.3.D001/debian/rules
@@ -3,7 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -Dlint
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 CFLAGS += -O0
 else
diff -u fstrcmp-0.3.D001/debian/changelog fstrcmp-0.3.D001/debian/changelog
--- fstrcmp-0.3.D001/debian/changelog
+++ fstrcmp-0.3.D001/debian/changelog
@@ -1,3 +1,15 @@
+fstrcmp (0.3.D001-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: ./lib/diffseq.h:461:38: error: 'bxbest' may be used
+    uninitialized in this function [-Werror=uninitialized]":
+    apply patch from Ubuntu / Colin Watson:
+    - Guard all references to big_snake in lib/diffseq.h with #ifdef
+      USE_HEURISTIC.
+    - Build with -Dlint (closes: #625080, LP: #749279).
+
+ -- gregor herrmann <[email protected]>  Mon, 03 Oct 2011 17:43:52 +0200
+
 fstrcmp (0.3.D001-1) unstable; urgency=low
 
   * This change set prepares fstrcmp for the next public release.
only in patch2:
unchanged:
--- fstrcmp-0.3.D001.orig/lib/diffseq.h
+++ fstrcmp-0.3.D001/lib/diffseq.h
@@ -209,7 +209,9 @@
     for (c = 1; ; ++c)
     {
         OFFSET d;               /* Active diagonal. */
+#ifdef USE_HEURISTIC
         int big_snake = 0;
+#endif
 
         /* Extend the top-down search by an edit step in each diagonal. */
         if (fmin > dmin)
@@ -235,8 +237,10 @@
                 x++, y++
             )
                 ;
+#ifdef USE_HEURISTIC
             if (x - x0 > SNAKE_LIMIT)
                 big_snake = 1;
+#endif
             fd[d] = x;
             if (odd && bmin <= d && d <= bmax && bd[d] <= x)
             {
@@ -272,8 +276,10 @@
                 x--, y--
             )
                 ;
+#ifdef USE_HEURISTIC
             if (x0 - x > SNAKE_LIMIT)
                 big_snake = 1;
+#endif
             bd[d] = x;
             if (!odd && fmin <= d && d <= fmax && x <= fd[d])
             {

Attachment: signature.asc
Description: Digital signature

Reply via email to