summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-12-17 18:17:21 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-12-17 18:18:37 +0900
commit09850b77d12020800877835630199585567514b5 (patch)
treed9024a56c00d57a05e05a11970c5bdf84c111a1c /app-text/crf++/files
parentapp-text/crf++: amd64/x86 stable (diff)
downloadgentoo-09850b77d12020800877835630199585567514b5.tar.gz
gentoo-09850b77d12020800877835630199585567514b5.tar.bz2
gentoo-09850b77d12020800877835630199585567514b5.zip
app-text/crf++: drop old
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'app-text/crf++/files')
-rw-r--r--app-text/crf++/files/crf++-0.54-c++11.patch37
-rw-r--r--app-text/crf++/files/crf++-0.54-gcc46.patch10
2 files changed, 0 insertions, 47 deletions
diff --git a/app-text/crf++/files/crf++-0.54-c++11.patch b/app-text/crf++/files/crf++-0.54-c++11.patch
deleted file mode 100644
index a71cd9071eba..000000000000
--- a/app-text/crf++/files/crf++-0.54-c++11.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/feature_index.cpp
-+++ b/feature_index.cpp
-@@ -34,8 +34,9 @@
- std::map <std::string, std::pair<int, unsigned int> >::iterator
- it = dic_.find(key);
- if (it == dic_.end()) {
-- dic_.insert(std::make_pair<std::string, std::pair<int, unsigned int> >
-- (key, std::make_pair<int, unsigned int>(maxid_, 1)));
-+ dic_.insert(std::make_pair
-+ (std::string(key),
-+ std::make_pair(maxid_, static_cast<unsigned int>(1))));
- int n = maxid_;
- maxid_ += (key[0] == 'U' ? y_.size() : y_.size() * y_.size());
- return n;
-@@ -171,7 +172,7 @@
- const std::string &key = it->first;
-
- if (it->second.second >= freq) {
-- old2new.insert(std::make_pair<int, int>(it->second.first, new_maxid));
-+ old2new.insert(std::make_pair(it->second.first, new_maxid));
- it->second.first = new_maxid;
- new_maxid += (key[0] == 'U' ? y_.size() : y_.size() * y_.size());
- ++it;
-@@ -264,9 +265,10 @@
- size_t size = tokenize(line, "\t ", column, 2);
- CHECK_FALSE(size == 2) << "format error: " << filename1;
-
-- dic_.insert(std::make_pair<std::string, std::pair<int, unsigned int> >
-- (column[1],
-- std::make_pair<int, unsigned int>(std::atoi(column[0]), 1)));
-+ dic_.insert(std::make_pair
-+ (std::string(column[1]),
-+ std::make_pair(std::atoi(column[0]),
-+ static_cast<unsigned int>(1))));
- }
-
- std::vector<double> alpha;
diff --git a/app-text/crf++/files/crf++-0.54-gcc46.patch b/app-text/crf++/files/crf++-0.54-gcc46.patch
deleted file mode 100644
index 748551769bf2..000000000000
--- a/app-text/crf++/files/crf++-0.54-gcc46.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/path.h
-+++ b/path.h
-@@ -8,6 +8,7 @@
- #ifndef CRFPP_PATH_H_
- #define CRFPP_PATH_H_
-
-+#include <cstddef>
- #include <vector>
- #include "node.h"
-