summaryrefslogtreecommitdiff
path: root/textproc/aspell
diff options
context:
space:
mode:
authormycroft <mycroft>2003-09-30 17:26:58 +0000
committermycroft <mycroft>2003-09-30 17:26:58 +0000
commit004b7541f4c176bd34335ee66c95d4b090ce81a1 (patch)
tree1d4518516d109c6562b0e21fce05ebbd2df300a9 /textproc/aspell
parentdebe10b776d57b86d5d7a88041ee3432ae49c860 (diff)
downloadpkgsrc-004b7541f4c176bd34335ee66c95d4b090ce81a1.tar.gz
I don't pretend to understand this layer of the C++ template abyss, but I found
this patch on the web that purports to make it work with GCC 3/libstdc++ 3.
Diffstat (limited to 'textproc/aspell')
-rw-r--r--textproc/aspell/distinfo3
-rw-r--r--textproc/aspell/patches/patch-ab19
2 files changed, 21 insertions, 1 deletions
diff --git a/textproc/aspell/distinfo b/textproc/aspell/distinfo
index a547c43c07a..dd9acff821b 100644
--- a/textproc/aspell/distinfo
+++ b/textproc/aspell/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2003/07/14 17:06:34 jmmv Exp $
+$NetBSD: distinfo,v 1.6 2003/09/30 17:26:58 mycroft Exp $
SHA1 (aspell-0.50.3.tar.gz) = aea3c1e47c10bf2f189dbff91c3c137170af6a72
Size (aspell-0.50.3.tar.gz) = 939063 bytes
SHA1 (patch-aa) = ec9eff280bdb169814e134f541dee7c879a58fdd
+SHA1 (patch-ab) = 9b3e6dfbdf27b9bc0a10384be057685fba734aa7
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);