pkgsrc/textproc/jade/patches/patch-au
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

25 lines
520 B
Text

$NetBSD: patch-au,v 1.1 2006/01/20 11:36:18 jmmv Exp $
--- jade/RtfFOTBuilder_inst.cxx.orig 1998-10-07 12:06:36.000000000 +0200
+++ jade/RtfFOTBuilder_inst.cxx
@@ -218,6 +218,20 @@ typedef Vector<Vector<char> > Dummy_14;
#endif
#endif
#endif
+#ifdef __DECCXX
+#pragma define_template Vector<size_t>
+#else
+#ifdef __xlC__
+#pragma define(Vector<size_t>)
+#else
+#ifdef SP_ANSI_CLASS_INST
+template class Vector<size_t>;
+#else
+typedef Vector<size_t> Dummy_15;
+#endif
+#endif
+#endif
+
#ifdef DSSSL_NAMESPACE
}