summaryrefslogtreecommitdiff
path: root/textproc/jade
diff options
context:
space:
mode:
authormycroft <mycroft>2002-09-16 15:00:19 +0000
committermycroft <mycroft>2002-09-16 15:00:19 +0000
commit4c3dbb3b39f294b3d8a83b791da3ff020156f08b (patch)
tree6182df54ed55b80ec9240d03c3b82aad7b0181a9 /textproc/jade
parent5e3bac41f003dfd12981b91bfb42645c89ab61d1 (diff)
downloadpkgsrc-4c3dbb3b39f294b3d8a83b791da3ff020156f08b.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')
-rw-r--r--textproc/jade/distinfo5
-rw-r--r--textproc/jade/patches/patch-ai13
-rw-r--r--textproc/jade/patches/patch-aj13
-rw-r--r--textproc/jade/patches/patch-ak13
4 files changed, 43 insertions, 1 deletions
diff --git a/textproc/jade/distinfo b/textproc/jade/distinfo
index 85b49c7ccca..6506bd27603 100644
--- a/textproc/jade/distinfo
+++ b/textproc/jade/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2002/08/25 18:40:04 jlam Exp $
+$NetBSD: distinfo,v 1.8 2002/09/16 15:00:19 mycroft Exp $
SHA1 (jade-1.2.1.tar.gz) = 4326e73b7f0b865515e1bb90c622a8b2aa6ecd06
Size (jade-1.2.1.tar.gz) = 1092062 bytes
@@ -12,3 +12,6 @@ SHA1 (patch-ae) = a01bd39d4be17884f902a06c5c7324912935241f
SHA1 (patch-af) = eb8c986dd4051cb183ccbb8d6aa97f1e801eab58
SHA1 (patch-ag) = 593c1b6488fee22cd634fa10c90c89fd858c8981
SHA1 (patch-ah) = d829ea273b99c06d83a6d7944ece12fbae513b6c
+SHA1 (patch-ai) = 5ca7b5d5daf4b2bcacffee6fa0410182c1df0672
+SHA1 (patch-aj) = 87f08a928b70a37c3f59ce4bcad20fbb7bbbf304
+SHA1 (patch-ak) = f93643020d129c229d4a4fc1160decc31dd30264
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