summaryrefslogtreecommitdiff
path: root/textproc/jade/patches
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2002-09-16 15:00:19 +0000
committermycroft <mycroft@pkgsrc.org>2002-09-16 15:00:19 +0000
commit34aca00b6b0685d9ecab614214ec1e7c60dcce3c (patch)
tree6182df54ed55b80ec9240d03c3b82aad7b0181a9 /textproc/jade/patches
parent9046309a0e3e6f355cc0da9ca6cce090ebb94939 (diff)
downloadpkgsrc-34aca00b6b0685d9ecab614214ec1e7c60dcce3c.tar.gz
Fix this for LP64 systems by meta-patching the Debian patches to switch off
_LP64 (which we use), rather than SIZEOF_SIZE_T==8 (which is only defined in the Debian build goo). Really, the right answer is to add an autoconf test -- or fix the crappy language.
Diffstat (limited to 'textproc/jade/patches')
-rw-r--r--textproc/jade/patches/patch-ai13
-rw-r--r--textproc/jade/patches/patch-aj13
-rw-r--r--textproc/jade/patches/patch-ak13
3 files changed, 39 insertions, 0 deletions
diff --git a/textproc/jade/patches/patch-ai b/textproc/jade/patches/patch-ai
new file mode 100644
index 00000000000..ff8e2f73283
--- /dev/null
+++ b/textproc/jade/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2002/09/16 15:00:20 mycroft Exp $
+
+--- lib/parser_inst.cxx.orig Fri Sep 16 14:43:02 2022
++++ lib/parser_inst.cxx Fri Sep 16 14:44:09 2022
+@@ -1324,7 +1324,7 @@
+ #endif
+ #endif
+ #endif
+-#if SIZEOF_SIZE_T == 8
++#ifdef _LP64
+ #ifdef __DECCXX
+ #pragma define_template Vector<size_t>
+ #else
diff --git a/textproc/jade/patches/patch-aj b/textproc/jade/patches/patch-aj
new file mode 100644
index 00000000000..87033a9b6a3
--- /dev/null
+++ b/textproc/jade/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2002/09/16 15:00:20 mycroft Exp $
+
+--- lib/parser_inst.m4.orig Fri Sep 16 14:43:02 2022
++++ lib/parser_inst.m4 Fri Sep 16 14:44:12 2022
+@@ -164,7 +164,7 @@
+ __instantiate(Vector<ContentModelAmbiguity>)
+ __instantiate(Vector<Transition>)
+ __instantiate(Vector<LeafContentToken*>)
+-#if SIZEOF_SIZE_T == 8
++#ifdef _LP64
+ __instantiate(Vector<size_t>)
+ #endif
+ __instantiate(Vector<unsigned int>)
diff --git a/textproc/jade/patches/patch-ak b/textproc/jade/patches/patch-ak
new file mode 100644
index 00000000000..233dea83b1f
--- /dev/null
+++ b/textproc/jade/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2002/09/16 15:00:21 mycroft Exp $
+
+--- nsgmls/RastEventHandler.cxx.orig Fri Sep 16 14:43:02 2022
++++ nsgmls/RastEventHandler.cxx Fri Sep 16 14:44:18 2022
+@@ -28,7 +28,7 @@
+ namespace SP_NAMESPACE {
+ #endif
+
+-#if SIZEOF_SIZE_T == 8
++#ifdef _LP64
+ #ifdef __DECCXX
+ #pragma define_template Vector<size_t>
+ #else