From 9891f767a4d6082820a9dd2c03732b034d633e08 Mon Sep 17 00:00:00 2001 From: jmmv Date: Fri, 20 Jan 2006 11:36:18 +0000 Subject: Fix build under Mac OS X: - Properly instantiate required templates. - Properly detect some functions (such as strtoul). - Do not use unavailable Mach threads. --- textproc/jade/patches/patch-as | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 textproc/jade/patches/patch-as (limited to 'textproc/jade/patches/patch-as') 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 Dummy_4; + #endif + #ifdef __DECCXX + #pragma define_template Vector > ++#pragma define_template Vector + #else + #ifdef __xlC__ + #pragma define(Vector >) ++#pragma define(Vector) + #else + #ifdef SP_ANSI_CLASS_INST + template class Vector >; ++template class Vector; + #else + typedef Vector > Dummy_5; ++typedef Vector Dummy_5; + #endif + #endif + #endif -- cgit v1.2.3