Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 151277 Details for
Bug 219633
app-admin/xstow-0.5.1 fails w/ gcc-4.3.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xstow-0.5.1-gcc43.patch
xstow-0.5.1-gcc43.patch (text/plain), 1.97 KB, created by
Peter Alfredsen (RETIRED)
on 2008-04-28 21:06:08 UTC
(
hide
)
Description:
xstow-0.5.1-gcc43.patch
Filename:
MIME Type:
Creator:
Peter Alfredsen (RETIRED)
Created:
2008-04-28 21:06:08 UTC
Size:
1.97 KB
patch
obsolete
>--- xstow-0.5.1.orig/src/format.h >+++ xstow-0.5.1/src/format.h >@@ -648,17 +648,17 @@ > > switch( num_of_args ) > { >- case 1: n = std::snprintf( buffer, buffer_size, format.c_str(), >+ case 1: n = snprintf( buffer, buffer_size, format.c_str(), > D( a ) ); break; >- case 2: n = std::snprintf( buffer, buffer_size, format.c_str(), >+ case 2: n = snprintf( buffer, buffer_size, format.c_str(), > D( a ), D( b ) ); break; >- case 3: n = std::snprintf( buffer, buffer_size, format.c_str(), >+ case 3: n = snprintf( buffer, buffer_size, format.c_str(), > D( a ), D( b ), D( c ) ); break; >- case 4: n = std::snprintf( buffer, buffer_size, format.c_str(), >+ case 4: n = snprintf( buffer, buffer_size, format.c_str(), > D( a ), D( b ), D( c ), D( d ) ); break; >- case 5: n = std::snprintf( buffer, buffer_size, format.c_str(), >+ case 5: n = snprintf( buffer, buffer_size, format.c_str(), > D( a ), D( b ), D( c ), D( d ), D( e ) ); break; >- case 6: n = std::snprintf( buffer, buffer_size, format.c_str(), >+ case 6: n = snprintf( buffer, buffer_size, format.c_str(), > D( a ), D( b ), D( c ), D( d ), D( e ), D( f ) ); break; > } > >--- xstow-0.5.1.orig/src/main.cpp >+++ xstow-0.5.1/src/main.cpp >@@ -1,3 +1,4 @@ >+#include <cstdlib> > #include <iostream> > > #include "local_config.h" >--- xstow-0.5.1.orig/src/cppdir.cpp >+++ xstow-0.5.1/src/cppdir.cpp >@@ -1,6 +1,8 @@ > #include "cppdir.h" > #include "debug.h" > >+#include <cstdlib> >+ > #define OUT(level) DEBUG_OUT( level, MODULE_CPPDIR) > > extern "C" { >--- xstow-0.5.1.orig/src/setup.cpp >+++ xstow-0.5.1/src/setup.cpp >@@ -5,6 +5,8 @@ > #include "debug.h" > #include "nignore.h" > >+#include <cstdlib> >+ > #undef OUT > > #define OUT( level ) DEBUG_OUT( level, MODULE_SETUP ) >--- xstow-0.5.1.orig/src/tree.cpp >+++ xstow-0.5.1/src/tree.cpp >@@ -26,6 +26,7 @@ > > > #include <algorithm> >+#include <cstring> > > #define OUT(level) DEBUG_OUT(level, MODULE_TREE) > > >
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 219633
: 151277