Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 311001 Details for
Bug 414773
=kde-base/kopete-4.8.3 not compiles with gcc-4.7.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kopete-4.8.3-gcc-4.7.patch
kopete-4.8.3-gcc-4.7.patch (text/plain), 2.21 KB, created by
Michael Palimaka (kensington)
on 2012-05-06 17:10:02 UTC
(
hide
)
Description:
kopete-4.8.3-gcc-4.7.patch
Filename:
MIME Type:
Creator:
Michael Palimaka (kensington)
Created:
2012-05-06 17:10:02 UTC
Size:
2.21 KB
patch
obsolete
>Index: kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc >=================================================================== >--- kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc (revision 1292761) >+++ kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc (revision 1292762) >@@ -31,6 +31,7 @@ > #include <netinet/in.h> > #include <arpa/inet.h> > #include <netdb.h> >+#include <unistd.h> > #endif > > #include <cstring> >Index: kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc >=================================================================== >--- kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc (revision 1292761) >+++ kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc (revision 1292762) >@@ -27,6 +27,12 @@ > > #include "talk/base/ssladapter.h" > >+#ifdef POSIX >+extern "C" { >+#include <unistd.h> >+} >+#endif >+ > #if !defined(SSL_USE_SCHANNEL) && !defined(SSL_USE_OPENSSL) > #ifdef WIN32 > #define SSL_USE_SCHANNEL 1 >Index: kopete/protocols/jabber/googletalk/libjingle/talk/base/stringutils.h >=================================================================== >--- kopete/protocols/jabber/googletalk/libjingle/talk/base/stringutils.h (revision 1292761) >+++ kopete/protocols/jabber/googletalk/libjingle/talk/base/stringutils.h (revision 1292762) >@@ -198,15 +198,6 @@ > } > > template<class CTYPE> >-size_t sprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, ...) { >- va_list args; >- va_start(args, format); >- size_t len = vsprintfn(buffer, buflen, format, args); >- va_end(args); >- return len; >-} >- >-template<class CTYPE> > size_t vsprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, > va_list args) { > int len = vsnprintf(buffer, buflen, format, args); >@@ -217,6 +208,15 @@ > return len; > } > >+template<class CTYPE> >+size_t sprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, ...) { >+ va_list args; >+ va_start(args, format); >+ size_t len = vsprintfn(buffer, buflen, format, args); >+ va_end(args); >+ return len; >+} >+ > /////////////////////////////////////////////////////////////////////////////// > // Allow safe comparing and copying ascii (not UTF-8) with both wide and > // non-wide character strings.
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 414773
: 311001