summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-15 20:59:22 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-15 20:59:22 +0000
commitdab9bc816fd327621d172c80c583f73d6af029a8 (patch)
tree64bff57d4e024ef23c8c27d84dc368ff26ada22a /app-text/crf++/files
parentamd64 stable wrt bug #227107 (diff)
downloadgentoo-2-dab9bc816fd327621d172c80c583f73d6af029a8.tar.gz
gentoo-2-dab9bc816fd327621d172c80c583f73d6af029a8.tar.bz2
gentoo-2-dab9bc816fd327621d172c80c583f73d6af029a8.zip
Fix 227295, Gcc-4.3 compatibility. Bump to newest, remove old.
(Portage version: 2.1.5.5)
Diffstat (limited to 'app-text/crf++/files')
-rw-r--r--app-text/crf++/files/crf++-0.50-gcc43.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/app-text/crf++/files/crf++-0.50-gcc43.patch b/app-text/crf++/files/crf++-0.50-gcc43.patch
new file mode 100644
index 000000000000..0809520dc676
--- /dev/null
+++ b/app-text/crf++/files/crf++-0.50-gcc43.patch
@@ -0,0 +1,31 @@
+diff -NrU5 CRF++-0.50.orig/freelist.h CRF++-0.50/freelist.h
+--- CRF++-0.50.orig/freelist.h 2008-06-15 22:42:21.000000000 +0200
++++ CRF++-0.50/freelist.h 2008-06-15 22:47:44.000000000 +0200
+@@ -7,10 +7,11 @@
+ //
+ #ifndef CRFPP_FREELIST_H__
+ #define CRFPP_FREELIST_H__
+
+ #include <vector>
++#include <cstring>
+
+ namespace CRFPP {
+ template <class T>
+ class Length {
+ public:
+diff -NrU5 CRF++-0.50.orig/param.h CRF++-0.50/param.h
+--- CRF++-0.50.orig/param.h 2008-06-15 22:42:21.000000000 +0200
++++ CRF++-0.50/param.h 2008-06-15 22:44:33.000000000 +0200
+@@ -28,11 +28,11 @@
+ }
+ return result;
+ }
+
+ template <>
+- static std::string lexical_cast<std::string, std::string>(std::string arg) {
++ std::string lexical_cast<std::string, std::string>(std::string arg) {
+ return arg;
+ }
+
+ struct Option {
+ const char *name;