1 |
vostorga 09/08/25 19:54:10 |
2 |
|
3 |
Added: httpup-0.3.2-gcc44.patch |
4 |
Log: |
5 |
Fixing build against gcc 4.4 #282676 , Respecting CXX variable |
6 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-util/httpup/files/httpup-0.3.2-gcc44.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/httpup/files/httpup-0.3.2-gcc44.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/httpup/files/httpup-0.3.2-gcc44.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: httpup-0.3.2-gcc44.patch |
15 |
=================================================================== |
16 |
diff -NrU5 httpup-0.3.2.original/configparser.cpp httpup-0.3.2/configparser.cpp |
17 |
--- httpup-0.3.2.original/configparser.cpp 2009-08-25 20:01:59.000000000 -0600 |
18 |
+++ httpup-0.3.2/configparser.cpp 2009-08-25 20:02:20.000000000 -0600 |
19 |
@@ -9,10 +9,11 @@ |
20 |
// (at your option) any later version. |
21 |
//////////////////////////////////////////////////////////////////////// |
22 |
|
23 |
#include <iostream> |
24 |
#include <cstring> |
25 |
+#include <cstdio> |
26 |
#include "configparser.h" |
27 |
|
28 |
using namespace std; |
29 |
|
30 |
int ConfigParser::parseConfig(const std::string& fileName, |
31 |
diff -NrU5 httpup-0.3.2.original/fileutils.cpp httpup-0.3.2/fileutils.cpp |
32 |
--- httpup-0.3.2.original/fileutils.cpp 2009-08-25 20:01:59.000000000 -0600 |
33 |
+++ httpup-0.3.2/fileutils.cpp 2009-08-25 20:02:29.000000000 -0600 |
34 |
@@ -8,10 +8,11 @@ |
35 |
// the Free Software Foundation; either version 2 of the License, or |
36 |
// (at your option) any later version. |
37 |
//////////////////////////////////////////////////////////////////////// |
38 |
|
39 |
#include <sys/types.h> |
40 |
+#include <cstdio> |
41 |
#include <sys/stat.h> |
42 |
#include <unistd.h> |
43 |
#include <dirent.h> |
44 |
|
45 |
#include "md5.h" |