* [gentoo-commits] gentoo-x86 commit in net-p2p/bitstormlite/files: bitstormlite-0.2p-gcc43.patch
@ 2009-02-16 0:05 Peter Alfredsen (loki_val)
0 siblings, 0 replies; only message in thread
From: Peter Alfredsen (loki_val) @ 2009-02-16 0:05 UTC (permalink / raw
To: gentoo-commits
loki_val 09/02/16 00:05:18
Added: bitstormlite-0.2p-gcc43.patch
Log:
Fix build with gcc-4.3. Bug 251535. Patch snatched from http://bugs.debian.org/455302 .
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Revision Changes Path
1.1 net-p2p/bitstormlite/files/bitstormlite-0.2p-gcc43.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bitstormlite/files/bitstormlite-0.2p-gcc43.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bitstormlite/files/bitstormlite-0.2p-gcc43.patch?rev=1.1&content-type=text/plain
Index: bitstormlite-0.2p-gcc43.patch
===================================================================
--- a/src/Socket.cpp
+++ b/src/Socket.cpp
@@ -31,6 +31,8 @@
#include <arpa/inet.h>
#include "Socket.h"
+#include <cstring>
+
CSocket::CSocket()
: _reactor(NULL)
, _handle(-1)
--- a/src/bdict.h
+++ b/src/bdict.h
@@ -31,6 +31,8 @@
#include <map>
#include "bobject.h"
+#include <cstring>
+
class CBDict:public CBObject
{
public:
--- a/src/binteger.h
+++ b/src/binteger.h
@@ -31,6 +31,8 @@
#include <stdio.h>
#include "bobject.h"
+#include <cstdlib>
+
class CBInteger:public CBObject
{
public:
--- a/src/bstring.h
+++ b/src/bstring.h
@@ -27,6 +27,7 @@
#define _BSTRING_H_
#include<string>
+#include<cstdlib>
class CBString:public CBObject
{
--- a/src/utils.h
+++ b/src/utils.h
@@ -44,6 +44,8 @@
#include <glib.h>
#include "sha1.h"
+#include <cstring>
+
#define _(string) gettext(string)
#define N(string) string
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-16 0:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16 0:05 [gentoo-commits] gentoo-x86 commit in net-p2p/bitstormlite/files: bitstormlite-0.2p-gcc43.patch Peter Alfredsen (loki_val)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox