1 |
binki 11/07/02 06:13:22 |
2 |
|
3 |
Added: xchat-2.8.4-interix.patch |
4 |
Log: |
5 |
Import gentoo-prefix support from the prefix-overlay, including bump to EAPI=3, for xchat-2.8.8-r2. |
6 |
|
7 |
(Portage version: 2.2.0_alpha41-r1/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-irc/xchat/files/xchat-2.8.4-interix.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/files/xchat-2.8.4-interix.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/files/xchat-2.8.4-interix.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: xchat-2.8.4-interix.patch |
16 |
=================================================================== |
17 |
diff -ru xchat-2.8.4.orig/src/common/text.c xchat-2.8.4/src/common/text.c |
18 |
--- xchat-2.8.4.orig/src/common/text.c 2008-03-12 14:45:26 +0100 |
19 |
+++ xchat-2.8.4/src/common/text.c 2008-03-12 15:04:35 +0100 |
20 |
@@ -271,10 +271,14 @@ |
21 |
{ |
22 |
if (buf[0] == 'T') |
23 |
{ |
24 |
+#ifdef HAVE_STRTOULL |
25 |
if (sizeof (time_t) == 4) |
26 |
stamp = strtoul (buf + 2, NULL, 10); |
27 |
else |
28 |
stamp = strtoull (buf + 2, NULL, 10); /* just incase time_t is 64 bits */ |
29 |
+#else |
30 |
+ stamp = strtoul (buf + 2, NULL, 10); |
31 |
+#endif |
32 |
text = strchr (buf + 3, ' '); |
33 |
if (text) |
34 |
{ |