summaryrefslogtreecommitdiff
path: root/textproc/html2text/patches/patch-ab
blob: 14fca54f80fa3a059a68f4b84b1b110d2e2269b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);