summaryrefslogtreecommitdiff
path: root/textproc/aspell/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/aspell/patches/patch-ab')
-rw-r--r--textproc/aspell/patches/patch-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/aspell/patches/patch-ab b/textproc/aspell/patches/patch-ab
new file mode 100644
index 00000000000..f9f66585cdd
--- /dev/null
+++ b/textproc/aspell/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.3 2003/09/30 17:26:58 mycroft Exp $
+
+--- modules/speller/default/split.cpp.orig 2001-11-30 03:55:48.000000000 +0000
++++ modules/speller/default/split.cpp 2003-09-30 17:23:23.000000000 +0000
+@@ -1,4 +1,4 @@
+-#include <strstream>
++#include <sstream>
+ #include "split.hpp"
+
+ using namespace std;
+@@ -8,7 +8,7 @@
+
+ vector<String> split(const String & str) {
+ vector<String> data;
+- istrstream s(str.c_str());
++ istringstream s(str.c_str());
+ String item;
+ while (s >> item) {
+ data.push_back(item);