[pkg-boost-commits] r14405 - in boost/trunk/debian: . patches

smr at alioth.debian.org smr at alioth.debian.org
Sat Apr 4 05:45:14 UTC 2009


Author: smr
Date: 2009-04-04 05:45:12 +0000 (Sat, 04 Apr 2009)
New Revision: 14405

Modified:
   boost/trunk/debian/changelog
   boost/trunk/debian/patches/jam-wall-clean.patch
Log:
Fix printf formatting in tools/src/jam; fixes FTBFS on several architectures.

Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog	2009-03-31 07:02:15 UTC (rev 14404)
+++ boost/trunk/debian/changelog	2009-04-04 05:45:12 UTC (rev 14405)
@@ -1,3 +1,10 @@
+boost1.38 (1.38.0-3) unstable; urgency=low
+
+  * patches/jam-wall-clean.patch: Fix printf formatting in
+    tools/jam/src/hash.c and tools/jam/src/hcache.c.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 04 Apr 2009 00:41:36 -0500
+
 boost1.38 (1.38.0-2) unstable; urgency=low
 
   * Merge changes from 1.37.0-7 and 1.37.0-8:

Modified: boost/trunk/debian/patches/jam-wall-clean.patch
===================================================================
--- boost/trunk/debian/patches/jam-wall-clean.patch	2009-03-31 07:02:15 UTC (rev 14404)
+++ boost/trunk/debian/patches/jam-wall-clean.patch	2009-04-04 05:45:12 UTC (rev 14405)
@@ -52,3 +52,25 @@
 +        (void)hashenter(m->native_rules, (HASHDATA**)&np);
      }
  }
+--- boost1.38-1.38.0.orig/tools/jam/src/hash.c
++++ boost1.38-1.38.0/tools/jam/src/hash.c
+@@ -448,7 +448,7 @@
+         run = here;
+     }
+ 
+-    printf( "%s table: %d+%d+%d (%dK+%ldK) items+table+hash, %f density\n",
++    printf( "%s table: %d+%d+%d (%dK+%udK) items+table+hash, %f density\n",
+         hp->name,
+         count,
+         hp->items.nel,
+--- boost1.38-1.38.0.orig/tools/jam/src/hcache.c
++++ boost1.38-1.38.0/tools/jam/src/hcache.c
+@@ -166,7 +166,7 @@
+ {
+     if ( !s )
+         s = "";
+-    fprintf( f, "%lu\t%s\n", strlen( s ), s );
++    fprintf( f, "%zu\t%s\n", strlen( s ), s );
+ }
+ 
+ 




More information about the pkg-boost-commits mailing list