From d018ed3708a5fa2a78cc74b2e004e4bf67f05801 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 7 Oct 2000 02:03:24 +0000 Subject: Add fix for alpha; explicitly instantiate Vector, as size_t is "unsigned long" on alpha. Nuke instantiation of Vector and finish the halfassed LP64 fix that's already here by changing a Vector to Vector in the code. NOT TESTED but appears to fix the problem for alpha; tested not to cause problems on i386. --- textproc/sp/patches/patch-ab | 13 +++++++++++++ textproc/sp/patches/patch-ac | 15 +++++++++++++++ textproc/sp/patches/patch-ad | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 textproc/sp/patches/patch-ab create mode 100644 textproc/sp/patches/patch-ac create mode 100644 textproc/sp/patches/patch-ad (limited to 'textproc/sp') diff --git a/textproc/sp/patches/patch-ab b/textproc/sp/patches/patch-ab new file mode 100644 index 00000000000..ae6eb905a51 --- /dev/null +++ b/textproc/sp/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2000/10/07 02:03:24 tv Exp $ + +--- include/SearchResultMessageArg.h.orig Fri Oct 6 21:34:14 2000 ++++ include/SearchResultMessageArg.h Fri Oct 6 21:34:40 2000 +@@ -29,7 +29,7 @@ + int errnum(size_t) const; + private: + Vector filename_; +- Vector errno_; ++ Vector errno_; + }; + + inline diff --git a/textproc/sp/patches/patch-ac b/textproc/sp/patches/patch-ac new file mode 100644 index 00000000000..8024a8e0db0 --- /dev/null +++ b/textproc/sp/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2000/10/07 02:03:24 tv Exp $ + +--- lib/parser_inst.m4.orig Fri Oct 6 21:36:27 2000 ++++ lib/parser_inst.m4 Fri Oct 6 21:36:32 2000 +@@ -164,10 +164,7 @@ + __instantiate(Vector) + __instantiate(Vector) + __instantiate(Vector) +-#if 0 + __instantiate(Vector) +-#endif +-__instantiate(Vector) + + __instantiate(NamedTable) + __instantiate(NamedTableIter) diff --git a/textproc/sp/patches/patch-ad b/textproc/sp/patches/patch-ad new file mode 100644 index 00000000000..0257b299940 --- /dev/null +++ b/textproc/sp/patches/patch-ad @@ -0,0 +1,33 @@ +$NetBSD: patch-ad,v 1.1 2000/10/07 02:03:25 tv Exp $ + +--- lib/parser_inst.cxx.orig Fri Oct 6 21:35:11 2000 ++++ lib/parser_inst.cxx Fri Oct 6 21:35:46 2000 +@@ -1324,7 +1324,6 @@ + #endif + #endif + #endif +-#if 0 + #ifdef __DECCXX + #pragma define_template Vector + #else +@@ -1335,20 +1334,6 @@ + template class Vector; + #else + typedef Vector Dummy_96; +-#endif +-#endif +-#endif +-#endif +-#ifdef __DECCXX +-#pragma define_template Vector +-#else +-#ifdef __xlC__ +-#pragma define(Vector) +-#else +-#ifdef SP_ANSI_CLASS_INST +-template class Vector; +-#else +-typedef Vector Dummy_97; + #endif + #endif + #endif -- cgit v1.2.3