Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 200647 Details for
Bug 276676
dev-libs/sptk: fails to build with gcc-4.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixing compilation with gcc-4.4
sptk-gcc-4.4.patch (text/plain), 1.62 KB, created by
Alexey Parshin
on 2009-08-09 00:09:36 UTC
(
hide
)
Description:
Patch fixing compilation with gcc-4.4
Filename:
MIME Type:
Creator:
Alexey Parshin
Created:
2009-08-09 00:09:36 UTC
Size:
1.62 KB
patch
obsolete
>diff -uNr sptk-3.5.8.14/examples/registry.cpp sptk-3.5.8.14.fix/examples/registry.cpp >--- sptk-3.5.8.14/examples/registry.cpp 2008-06-28 15:43:06.000000000 +1000 >+++ sptk-3.5.8.14.fix/examples/registry.cpp 2009-08-09 09:42:56.000000000 +1000 >@@ -66,7 +66,9 @@ > cout << "The registry doesn't contain window information" << endl; > } > } >- catch (exception& e) { puts(e.what()); } >+ catch (exception& e) { >+ cerr << e.what() << endl; >+ } > } > > void updateRegistry(CRegistryMode mode) { >@@ -97,8 +99,8 @@ > > mySettings.save(); > } >- catch (exception& e) { >- puts(e.what()); >+ catch (exception& e) { >+ cerr << e.what() << endl; > } > } > >diff -uNr sptk-3.5.8.14/src/utils/CVariant.cpp sptk-3.5.8.14.fix/src/utils/CVariant.cpp >--- sptk-3.5.8.14/src/utils/CVariant.cpp 2008-08-29 15:24:23.000000000 +1000 >+++ sptk-3.5.8.14.fix/src/utils/CVariant.cpp 2009-08-09 09:36:25.000000000 +1000 >@@ -40,6 +40,7 @@ > > #include <map> > #include <math.h> >+#include <stdio.h> > > using namespace std; > using namespace sptk; >diff -uNr sptk-3.5.8.14/.themes.sptk/tar2h.cpp sptk-3.5.8.14.fix/.themes.sptk/tar2h.cpp >--- sptk-3.5.8.14/.themes.sptk/tar2h.cpp 2007-07-21 12:54:26.000000000 +1000 >+++ sptk-3.5.8.14.fix/.themes.sptk/tar2h.cpp 2009-08-09 09:32:50.000000000 +1000 >@@ -33,8 +33,9 @@ > return 1; > } > >- printf("static size_t %s_len = %ld;\n", argv[2], st.st_size); >- printf("static unsigned char %s[%ld] = {\n", argv[2], st.st_size); >+ long sz = st.st_size; >+ printf("static size_t %s_len = %ld;\n", argv[2], sz); >+ printf("static unsigned char %s[%ld] = {\n", argv[2], sz); > > x = (unsigned char *)malloc(st.st_size); >
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 276676
:
196841
|
200645
| 200647