summaryrefslogtreecommitdiff
path: root/textproc/html2text/patches
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-01-11 20:31:44 +0000
committerjschauma <jschauma>2004-01-11 20:31:44 +0000
commit290729a4cac10e5896e878c48f59564c3a00fc4e (patch)
tree7eedbe599877cabbbc6c32e55cfbbfdd9a95f186 /textproc/html2text/patches
parent69ada34340229a09872db75a0154b75828e34115 (diff)
downloadpkgsrc-290729a4cac10e5896e878c48f59564c3a00fc4e.tar.gz
Make this compile with gcc-3.3. Fixes problem seen in agc's latest bulk build.
Diffstat (limited to 'textproc/html2text/patches')
-rw-r--r--textproc/html2text/patches/patch-ab25
1 files changed, 25 insertions, 0 deletions
diff --git a/textproc/html2text/patches/patch-ab b/textproc/html2text/patches/patch-ab
new file mode 100644
index 00000000000..14fca54f80f
--- /dev/null
+++ b/textproc/html2text/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1 2004/01/11 20:31:44 jschauma Exp $
+
+--- format.C.orig 2004-01-11 15:24:46.000000000 -0500
++++ format.C 2004-01-11 15:28:14.000000000 -0500
+@@ -34,10 +34,9 @@
+ /***************************************************************************/
+
+
+-#include <strstream.h>
+-
+ #include <stdlib.h>
+ #include <ctype.h>
++#include <strstream>
+ #include <vector>
+ #include <map>
+
+@@ -374,7 +374,7 @@
+ case CUSTOM3: bullet = custom3_bullet; break;
+ case ARABIC_NUMBERS:
+ {
+- ostrstream oss;
++ std::ostrstream oss;
+ oss << number << '.' << std::ends;
+ bullet = oss.str();
+ oss.rdbuf()->freeze(0);