diff options
author | jmmv <jmmv@pkgsrc.org> | 2006-01-20 11:36:18 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2006-01-20 11:36:18 +0000 |
commit | 9891f767a4d6082820a9dd2c03732b034d633e08 (patch) | |
tree | 3f0d9696a14de5cbb222200353556a6742cf7bee /textproc/jade/patches/patch-as | |
parent | b1c4a8c09f11cbcd6ea58ac62768162e7ee98382 (diff) | |
download | pkgsrc-9891f767a4d6082820a9dd2c03732b034d633e08.tar.gz |
Fix build under Mac OS X:
- Properly instantiate required templates.
- Properly detect some functions (such as strtoul).
- Do not use unavailable Mach threads.
Diffstat (limited to 'textproc/jade/patches/patch-as')
-rw-r--r-- | textproc/jade/patches/patch-as | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/textproc/jade/patches/patch-as b/textproc/jade/patches/patch-as new file mode 100644 index 00000000000..633112c9c94 --- /dev/null +++ b/textproc/jade/patches/patch-as @@ -0,0 +1,23 @@ +$NetBSD: patch-as,v 1.1 2006/01/20 11:36:18 jmmv Exp $ + +--- nsgmls/nsgmls_inst.cxx.orig 1998-10-01 07:22:18.000000000 +0200 ++++ nsgmls/nsgmls_inst.cxx +@@ -96,14 +96,18 @@ typedef IQueue<LinkRulePi> Dummy_4; + #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>) + #else + #ifdef SP_ANSI_CLASS_INST + template class Vector<Vector<size_t> >; ++template class Vector<size_t>; + #else + typedef Vector<Vector<size_t> > Dummy_5; ++typedef Vector<size_t> Dummy_5; + #endif + #endif + #endif |