summaryrefslogtreecommitdiff
path: root/textproc/htmltolatex/files/patch-CH2L.cpp
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-02-21 22:17:34 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-02-21 22:17:34 +0000
commit78979c9a49935911debea30211c7fbe7d6e3c512 (patch)
treeb289a596cda619eff44f6309b862c283764bb952 /textproc/htmltolatex/files/patch-CH2L.cpp
parentNew MASTER_SITE, and there isn't a homepage describing this project (diff)
Fix build for -CURRENT (GCC3).
Notes
Notes: svn path=/head/; revision=76068
Diffstat (limited to 'textproc/htmltolatex/files/patch-CH2L.cpp')
-rw-r--r--textproc/htmltolatex/files/patch-CH2L.cpp50
1 files changed, 50 insertions, 0 deletions
diff --git a/textproc/htmltolatex/files/patch-CH2L.cpp b/textproc/htmltolatex/files/patch-CH2L.cpp
new file mode 100644
index 000000000000..3bfbe9f2f8e4
--- /dev/null
+++ b/textproc/htmltolatex/files/patch-CH2L.cpp
@@ -0,0 +1,50 @@
+
+$FreeBSD$
+
+--- CH2L.cpp.orig Sun Nov 11 21:03:19 2001
++++ CH2L.cpp Fri Feb 21 03:08:09 2003
+@@ -18,6 +18,9 @@
+ * Boston, MA 02111-1307, USA.
+ *
+ */
++
++using namespace std;
++
+ #include "CH2L.h"
+ #include "util.h"
+ #include "safe_ostrstream.h"
+@@ -28,7 +31,6 @@
+ #include <assert.h>
+ #include <fstream>
+
+-using namespace std;
+ using namespace Magick;
+
+ #define ATTRIBUTENESTLIMIT 1000
+@@ -2086,7 +2088,7 @@
+ }
+
+
+-void CH2L::_implied_font_end(const string &tagdelimiter="",int iterations=1)
++void CH2L::_implied_font_end(const string &tagdelimiter,int iterations)
+ {
+ dump_text();
+ int cnt = 0;
+@@ -2225,7 +2227,7 @@
+ }
+
+ ////////////////////////
+-void CH2L::_implied_a_end(const string &tagdelimiter="",int iterations=1)
++void CH2L::_implied_a_end(const string &tagdelimiter,int iterations)
+ {
+ dump_text();
+
+@@ -3594,7 +3596,7 @@
+ }
+
+
+-void CH2L::_implied_div_end(const string &tagdelimiter="",int iterations=1)
++void CH2L::_implied_div_end(const string &tagdelimiter,int iterations)
+ {
+ bool did_something = false;
+ bool alignment_changed = false;