[PATCH] [cxxtools] fix compile error
Xiangfu Liu
xiangfu at sharism.cc
Mon Jan 18 10:24:19 EST 2010
Hi Mirko Vogt
when I compile the cxxtools on my new 64bit system. I got error:
"cxxtools FileImpl '::remove' has not been declared"
and "sprintf have not been declared"
this patch fix that problem.
---
cxxtools/patches/0001-fix-compile-error.patch | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 cxxtools/patches/0001-fix-compile-error.patch
diff --git a/cxxtools/patches/0001-fix-compile-error.patch b/cxxtools/patches/0001-fix-compile-error.patch
new file mode 100644
index 0000000..1b8601c
--- /dev/null
+++ b/cxxtools/patches/0001-fix-compile-error.patch
@@ -0,0 +1,24 @@
+diff --git a/src/fileimpl.cpp b/src/fileimpl.cpp
+index 08edcb9..db8cb7f 100644
+--- a/src/fileimpl.cpp
++++ b/src/fileimpl.cpp
+@@ -35,6 +35,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <string.h>
++#include <cstdio>
+
+ namespace cxxtools {
+
+diff --git a/src/http/messageheader.cpp b/src/http/messageheader.cpp
+index 9381be7..21ee7c3 100644
+--- a/src/http/messageheader.cpp
++++ b/src/http/messageheader.cpp
+@@ -30,6 +30,7 @@
+ #include <cxxtools/clock.h>
+ #include <cctype>
+ #include <sstream>
++#include <cstdio>
+
+ namespace cxxtools {
+
--
1.6.3.3
More information about the discussion
mailing list