Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184724 Details for
Bug 262174
dev-util/boost-build-1.34.1 wouldn't build with '-combine' gcc flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch which fixes few compilation problems in the code
boost-build-patch (text/plain), 4.10 KB, created by
Alexander Bezrukov
on 2009-03-11 18:56:49 UTC
(
hide
)
Description:
The patch which fixes few compilation problems in the code
Filename:
MIME Type:
Creator:
Alexander Bezrukov
Created:
2009-03-11 18:56:49 UTC
Size:
4.10 KB
patch
obsolete
>diff -ur src/builtins.c /tmp/src/builtins.c >--- src/builtins.c 2006-08-28 23:33:41.000000000 +0400 >+++ /tmp/src/builtins.c 2009-03-11 21:48:31.000000000 +0300 >@@ -4,6 +4,8 @@ > * This file is part of Jam - see jam.c for Copyright information. > */ > >+# include <ctype.h> >+ > # include "jam.h" > # include "debug.h" > >@@ -24,7 +26,8 @@ > # include "compile.h" > # include "native.h" > # include "variable.h" >-# include <ctype.h> >+# include "timestamp.h" >+# include "modules/modules.h" > > /* > * builtins.c - builtin jam rules >diff -ur src/builtins.h /tmp/src/builtins.h >--- src/builtins.h 2005-09-28 18:09:58.000000000 +0400 >+++ /tmp/src/builtins.h 2009-03-11 21:48:31.000000000 +0300 >@@ -51,4 +51,6 @@ > > void backtrace( FRAME *frame ); > >+void lol_build( LOL* lol, char** elements ); >+ > #endif >diff -ur src/compile.c /tmp/src/compile.c >--- src/compile.c 2005-10-03 04:47:36.000000000 +0400 >+++ /tmp/src/compile.c 2009-03-11 21:48:31.000000000 +0300 >@@ -1319,7 +1319,7 @@ > debug_compile( int which, char *s, FRAME* frame ) > { > static int level = 0; >- static char indent[36] = ">>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|"; >+ static const char indent[36] = ">>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|"; > > if ( which >= 0 ) > { >diff -ur src/debug.c /tmp/src/debug.c >--- src/debug.c 2005-10-03 04:47:36.000000000 +0400 >+++ /tmp/src/debug.c 2009-03-11 21:48:31.000000000 +0300 >@@ -107,8 +107,8 @@ > profile_total.memory += p->memory; > } > printf("%10d %10d %10d %12.6f %10d %10d %s\n", >- p->num_entries, p->cumulative, p->net, q, >- p->memory, mem_each, >+ (int) p->num_entries, (int) p->cumulative, (int) p->net, q, >+ (int) p->memory, (int) mem_each, > p->name); > } > >diff -ur src/expand.c /tmp/src/expand.c >--- src/expand.c 2006-01-27 21:47:39.000000000 +0300 >+++ /tmp/src/expand.c 2009-03-11 21:48:31.000000000 +0300 >@@ -86,7 +86,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 $(>) */ > >diff -ur src/hash.c /tmp/src/hash.c >--- src/hash.c 2005-10-03 04:47:36.000000000 +0400 >+++ /tmp/src/hash.c 2009-03-11 21:48:31.000000000 +0300 >@@ -366,6 +366,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 ); > } >diff -ur src/make1.c /tmp/src/make1.c >--- src/make1.c 2005-10-03 04:47:36.000000000 +0400 >+++ /tmp/src/make1.c 2009-03-11 21:48:31.000000000 +0300 >@@ -61,6 +61,9 @@ > # include "command.h" > # include "execcmd.h" > >+# include "debug.h" >+# include "compile.h" >+ > # include <stdlib.h> > > #if defined(sun) || defined(__sun) >@@ -960,7 +963,7 @@ > list_sublist( ns, start, chunk ), > list_new( L0, newstr( "%" ) ) ); > >- printf( cmd->buf ); >+ printf( "%s", cmd->buf ); > > exit( EXITBAD ); > } >Only in /tmp/src/modules: modules.h >diff -ur src/native.c /tmp/src/native.c >--- src/native.c 2005-09-28 18:09:58.000000000 +0400 >+++ /tmp/src/native.c 2009-03-11 21:48:31.000000000 +0300 >@@ -3,6 +3,7 @@ > /* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ > > #include "native.h" >+#include "builtins.h" > #include "hash.h" > > # define P0 (PARSE *)0 >diff -ur src/newstr.c /tmp/src/newstr.c >--- src/newstr.c 2005-10-03 04:47:36.000000000 +0400 >+++ /tmp/src/newstr.c 2009-03-11 21:48:31.000000000 +0300 >@@ -4,12 +4,14 @@ > * This file is part of Jam - see jam.c for Copyright information. > */ > >+# include <stddef.h> >+# include <stdlib.h> >+ > # include "jam.h" > # include "newstr.h" > # include "hash.h" > # include "compile.h" >-# include <stddef.h> >-# include <stdlib.h> >+# include "debug.h" > > /* > * newstr.c - string manipulation routines >diff -ur src/timestamp.h /tmp/src/timestamp.h >--- src/timestamp.h 2001-11-06 18:36:16.000000000 +0300 >+++ /tmp/src/timestamp.h 2009-03-11 21:48:31.000000000 +0300 >@@ -8,5 +8,7 @@ > * timestamp.h - get the timestamp of a file or archive member > */ > >+#include <time.h> >+ > void timestamp( char *target, time_t *time ); > void donestamps();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262174
:
184724
|
184772