pkgsrc/textproc/jade/patches/patch-at
jmmv 9891f767a4 Fix build under Mac OS X:
- Properly instantiate required templates.
- Properly detect some functions (such as strtoul).
- Do not use unavailable Mach threads.
2006-01-20 11:36:18 +00:00

26 lines
746 B
Text

$NetBSD: patch-at,v 1.1 2006/01/20 11:36:18 jmmv Exp $
--- jade/HtmlFOTBuilder_inst.cxx.orig 1998-10-07 12:06:36.000000000 +0200
+++ jade/HtmlFOTBuilder_inst.cxx
@@ -106,14 +106,18 @@ typedef Vector<Vector<HtmlFOTBuilder::Ad
#endif
#ifdef __DECCXX
#pragma define_template Vector<Vector<size_t> >
+#pragma define_template Vector<size_t>
#else
#ifdef __xlC__
-#pragma define(Vector<Vector<size_t> >)
+#pragma define(Vector<size_t>)
+#pragma define(Vector<size_t>)
#else
#ifdef SP_ANSI_CLASS_INST
-template class Vector<Vector<size_t> >;
+template class Vector<size_t>;
+template class Vector<size_t>;
#else
-typedef Vector<Vector<size_t> > Dummy_6;
+typedef Vector<size_t> Dummy_6;
+typedef Vector<size_t> Dummy_6;
#endif
#endif
#endif