Gentoo Archives: gentoo-commits

From: "Dawid Weglinski (cla)" <cla@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/bobotpp/files: bobotpp-2.2.2-gcc43.patch
Date: Fri, 18 Apr 2008 16:37:49
Message-Id: E1Jmtat-0007N4-7b@stork.gentoo.org
1 cla 08/04/18 16:37:47
2
3 Added: bobotpp-2.2.2-gcc43.patch
4 Log:
5 Adding gcc-4.3 patch from bug #218273, and ~amd64 keyword
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 net-irc/bobotpp/files/bobotpp-2.2.2-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/bobotpp/files/bobotpp-2.2.2-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/bobotpp/files/bobotpp-2.2.2-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: bobotpp-2.2.2-gcc43.patch
15 ===================================================================
16 diff -NrU5 bobotpp-2.2.2.orig/source/Channel.C bobotpp-2.2.2/source/Channel.C
17 --- bobotpp-2.2.2.orig/source/Channel.C 2008-04-18 16:19:56.000000000 +0200
18 +++ bobotpp-2.2.2/source/Channel.C 2008-04-18 16:31:08.000000000 +0200
19 @@ -23,10 +23,11 @@
20
21 #include "Macros.H"
22 #include "Utils.H"
23 #include "Channel.H"
24 #include "StringTokenizer.H"
25 +#include <cstdlib>
26 #ifdef USESCRIPTS
27 #include "Interp.H"
28 #endif
29
30 Channel::Channel(ServerConnection *c,
31 diff -NrU5 bobotpp-2.2.2.orig/source/DCCManager.H bobotpp-2.2.2/source/DCCManager.H
32 --- bobotpp-2.2.2.orig/source/DCCManager.H 2008-04-18 16:19:56.000000000 +0200
33 +++ bobotpp-2.2.2/source/DCCManager.H 2008-04-18 16:32:55.000000000 +0200
34 @@ -22,10 +22,11 @@
35 #include <list>
36 #include "DCCPerson.H"
37 #include "DCCConnection.H"
38 #include "UserCommands.H"
39 #include "String.H"
40 +#include <sys/types.h>
41
42 typedef std::map<String, DCCPerson*, std::less<String> > DCC_MAP;
43
44 // Manages all active DCC connections and allows you to send a message
45 // to each one using the string representation of the user's address
46 diff -NrU5 bobotpp-2.2.2.orig/source/Parser.C bobotpp-2.2.2/source/Parser.C
47 --- bobotpp-2.2.2.orig/source/Parser.C 2008-04-18 16:19:56.000000000 +0200
48 +++ bobotpp-2.2.2/source/Parser.C 2008-04-18 16:34:48.000000000 +0200
49 @@ -21,10 +21,11 @@
50 #include "config.h"
51 #endif
52
53 #include <sys/types.h>
54 #include <netinet/in.h>
55 +#include <cstdlib>
56
57 #include "StringTokenizer.H"
58 #include "Parser.H"
59 #include "UserCommands.H"
60 #include "Commands.H"
61 diff -NrU5 bobotpp-2.2.2.orig/source/ServerQueue.C bobotpp-2.2.2/source/ServerQueue.C
62 --- bobotpp-2.2.2.orig/source/ServerQueue.C 2008-04-18 16:19:56.000000000 +0200
63 +++ bobotpp-2.2.2/source/ServerQueue.C 2008-04-18 16:36:01.000000000 +0200
64 @@ -19,11 +19,11 @@
65
66 #ifdef HAVE_CONFIG_H
67 #include "config.h"
68 #endif
69
70 -//#include <limits>
71 +#include <climits>
72 #include "ServerQueue.H"
73 #include "Utils.H"
74
75 ServerQueue::ServerQueue(Socket * s, bool d)
76 : Queue(s,d), penalty(0)
77 diff -NrU5 bobotpp-2.2.2.orig/source/ShitList.C bobotpp-2.2.2/source/ShitList.C
78 --- bobotpp-2.2.2.orig/source/ShitList.C 2008-04-18 16:19:56.000000000 +0200
79 +++ bobotpp-2.2.2/source/ShitList.C 2008-04-18 16:37:12.000000000 +0200
80 @@ -24,10 +24,11 @@
81 #include <fstream>
82
83 #include "ShitList.H"
84 #include "StringTokenizer.H"
85 #include "Utils.H"
86 +#include <cstdlib>
87
88 ShitList::ShitList(String filename)
89 : listFileName(filename)
90 {
91 #ifdef HAVE_STL_CLEAR
92 diff -NrU5 bobotpp-2.2.2.orig/source/String.C bobotpp-2.2.2/source/String.C
93 --- bobotpp-2.2.2.orig/source/String.C 2008-04-18 16:19:56.000000000 +0200
94 +++ bobotpp-2.2.2/source/String.C 2008-04-18 16:39:18.000000000 +0200
95 @@ -21,10 +21,11 @@
96
97 #include <cstring>
98 #include <cctype>
99 #include <sstream>
100 #include <iostream>
101 +#include <cstdlib>
102
103 String::String()
104 {
105 }
106
107 diff -NrU5 bobotpp-2.2.2.orig/source/UserCommands.C bobotpp-2.2.2/source/UserCommands.C
108 --- bobotpp-2.2.2.orig/source/UserCommands.C 2008-04-18 16:19:56.000000000 +0200
109 +++ bobotpp-2.2.2/source/UserCommands.C 2008-04-18 16:40:39.000000000 +0200
110 @@ -30,10 +30,11 @@
111 #include <sys/socket.h>
112 #include <netinet/in.h>
113 #include <arpa/inet.h>
114 #include <netdb.h>
115 #include <cstdlib>
116 +#include <cstring>
117 #ifndef _X_OPEN_SOURCE
118 #define _X_OPEN_SOURCE
119 #endif
120 #ifndef _X_OPEN_SOURCE_EXTENDED
121 #define _X_OPEN_SOURCE_EXTENDED 1
122 diff -NrU5 bobotpp-2.2.2.orig/source/UserList.C bobotpp-2.2.2/source/UserList.C
123 --- bobotpp-2.2.2.orig/source/UserList.C 2008-04-18 16:19:56.000000000 +0200
124 +++ bobotpp-2.2.2/source/UserList.C 2008-04-18 16:41:08.000000000 +0200
125 @@ -17,10 +17,11 @@
126 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
127 // 02110-1301, USA.
128
129 #include <fstream>
130 #include <iostream>
131 +#include <cstdlib>
132
133 #include "UserList.H"
134 #include "StringTokenizer.H"
135 #include "Utils.H"
136
137
138
139
140 --
141 gentoo-commits@l.g.o mailing list