[pkg-boost-commits] r14269 - in boost/trunk/debian: . patches
smr at alioth.debian.org
smr at alioth.debian.org
Wed Aug 13 08:07:50 UTC 2008
Author: smr
Date: 2008-08-13 08:07:49 +0000 (Wed, 13 Aug 2008)
New Revision: 14269
Modified:
boost/trunk/debian/changelog
boost/trunk/debian/patches/jam-wall-clean.patch
Log:
Additional changes to expand.c,
hash.c to remove warnings from amd64 & s390.
Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog 2008-08-10 21:35:37 UTC (rev 14268)
+++ boost/trunk/debian/changelog 2008-08-13 08:07:49 UTC (rev 14269)
@@ -1,3 +1,10 @@
+boost1.35 (1.35.0-8) experimental; urgency=low
+
+ * debian/patches/jam-wall-clean.patch: Additional changes to expand.c,
+ hash.c to remove warnings from amd64 & s390.
+
+ -- Steve M. Robbins <smr at debian.org> Wed, 13 Aug 2008 03:07:01 -0500
+
boost1.35 (1.35.0-7) experimental; urgency=low
* debian/patches/avoid-PATH_MAX.patch: Define symbol _GNU_SOURCE in
Modified: boost/trunk/debian/patches/jam-wall-clean.patch
===================================================================
--- boost/trunk/debian/patches/jam-wall-clean.patch 2008-08-10 21:35:37 UTC (rev 14268)
+++ boost/trunk/debian/patches/jam-wall-clean.patch 2008-08-13 08:07:49 UTC (rev 14269)
@@ -91,8 +91,19 @@
p->num_entries,
cumulative,net,q,
p->memory, mem_each,
+#
+# Pointer difference is long int on amd64; cast to int
--- boost1.35-1.35.0.orig/tools/jam/src/expand.c
+++ boost1.35-1.35.0/tools/jam/src/expand.c
+@@ -87,7 +87,7 @@
+ int depth;
+
+ if( DEBUG_VAREXP )
+- printf( "expand '%.*s'\n", end - in, in );
++ printf( "expand '%.*s'\n", (int) (end - in), in );
+
+ /* This gets alot of cases: $(<) and $(>) */
+
@@ -276,7 +276,7 @@
string_copy( variable, vars->string );
varname = variable->value;
@@ -134,6 +145,9 @@
# ifdef old_sinix
/* Broken structure definition on sinix. */
f.f_base.ptr = dirent->d_name - 2;
+#
+# Hunk 3: sizeof( ITEM ** ) is long unsigned int on amd64 and s390
+# cast to int.
--- boost1.35-1.35.0.orig/tools/jam/src/hash.c
+++ boost1.35-1.35.0/tools/jam/src/hash.c
@@ -336,7 +336,7 @@
@@ -149,11 +163,19 @@
for( i = nel; i > 0; i-- )
{
-- if( here = ( *tab++ != (ITEM *)0 ) )
+- if( here = ( *tab++ != (ITEM *)0 ) )
+ if( ( here = ( *tab++ != (ITEM *)0 ) ) )
count++;
if( here && !run )
sets++;
+@@ -425,6 +425,6 @@
+ hp->items.nel,
+ hp->tab.nel,
+ hp->items.nel * hp->items.size / 1024,
+- hp->tab.nel * sizeof( ITEM ** ) / 1024,
++ hp->tab.nel * (int) sizeof( ITEM ** ) / 1024,
+ (float)count / (float)sets );
+ }
--- boost1.35-1.35.0.orig/tools/jam/src/hdrmacro.c
+++ boost1.35-1.35.0/tools/jam/src/hdrmacro.c
@@ -46,8 +46,6 @@
More information about the pkg-boost-commits
mailing list