summaryrefslogtreecommitdiff
path: root/textproc/html2text/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/html2text/patches/patch-ab')
-rw-r--r--textproc/html2text/patches/patch-ab34
1 files changed, 11 insertions, 23 deletions
diff --git a/textproc/html2text/patches/patch-ab b/textproc/html2text/patches/patch-ab
index 14fca54f80f..15b58916173 100644
--- a/textproc/html2text/patches/patch-ab
+++ b/textproc/html2text/patches/patch-ab
@@ -1,25 +1,13 @@
-$NetBSD: patch-ab,v 1.1 2004/01/11 20:31:44 jschauma Exp $
+$NetBSD: patch-ab,v 1.2 2005/03/24 08:53:29 adam 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 @@
- /***************************************************************************/
+--- Makefile.in.orig 2004-01-14 13:47:02.000000000 +0000
++++ Makefile.in
+@@ -48,7 +48,7 @@ DEBUG=-O2 -g
+ INCLUDES = $(LIBSTDCXX_INCLUDES)
+ DEFINES = -DVERSION=$(VERSION) $(SYS_POLL_MISSING) $(BOOL_DEFINITION) $(EXPLICIT) $(AUTO_PTR_BROKEN)
+ CPPFLAGS = $(INCLUDES) $(DEFINES)
+-CXXFLAGS = $(CPPFLAGS) $(DEBUG)
++CXXFLAGS += $(CPPFLAGS)
+ LDFLAGS = $(DEBUG)
+ LOADLIBES = $(LIBSTDCXX_LIBS) $(SOCKET_LIBRARIES)
-
--#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);