summaryrefslogtreecommitdiff
path: root/textproc/openjade/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-04-27 10:52:27 +0000
committeragc <agc@pkgsrc.org>2001-04-27 10:52:27 +0000
commitd4f6c724366927f68d70f9ce52719b4120517fbf (patch)
treed648ae1f0c985ee50a7791600d9715ea7f864b33 /textproc/openjade/patches
parent1d3036d9460fa2d6a066ea3b9b162e72fe1a65d8 (diff)
downloadpkgsrc-d4f6c724366927f68d70f9ce52719b4120517fbf.tar.gz
Initial import of openjade into the packages collection.
Provided in PR 12646 by Kogule, Ryo (kogule@mars.dti.ne.jp). OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL language. It is based on the James Clark implementation of DSSSL named Jade. OpenJade is now developed and maintained by the OpenJade team.
Diffstat (limited to 'textproc/openjade/patches')
-rw-r--r--textproc/openjade/patches/patch-aa18
-rw-r--r--textproc/openjade/patches/patch-ab29
-rw-r--r--textproc/openjade/patches/patch-ac14
3 files changed, 61 insertions, 0 deletions
diff --git a/textproc/openjade/patches/patch-aa b/textproc/openjade/patches/patch-aa
new file mode 100644
index 00000000000..5498291b548
--- /dev/null
+++ b/textproc/openjade/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+
+--- style/LangObj.cxx~ Fri Jul 2 07:49:58 1999
++++ style/LangObj.cxx Tue May 16 12:59:00 2000
+@@ -12,11 +12,11 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <string.h>
+-#include <wchar.h>
+-#include <wctype.h>
+
+ #ifdef SP_HAVE_LOCALE
+ #include <locale.h>
++#include <wchar.h>
++#include <wctype.h>
+ #endif
+
+ #ifdef DSSSL_NAMESPACE
diff --git a/textproc/openjade/patches/patch-ab b/textproc/openjade/patches/patch-ab
new file mode 100644
index 00000000000..b8580609682
--- /dev/null
+++ b/textproc/openjade/patches/patch-ab
@@ -0,0 +1,29 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+
+--- configure.orig Wed Sep 1 16:25:58 1999
++++ configure Tue May 16 15:39:23 2000
+@@ -1943,15 +1943,15 @@
+ rm -f conftest*
+ fi
+
+-if eval "test \"`echo '$ac_cv_func_'setlocale`\" = yes"; then
+- echo "$ac_t""yes" 1>&6
+- cat >> confdefs.h <<\EOF
+-#define SP_HAVE_LOCALE 1
+-EOF
+-
+-else
+- echo "$ac_t""no" 1>&6
+-fi
++# if eval "test \"`echo '$ac_cv_func_'setlocale`\" = yes"; then
++# echo "$ac_t""yes" 1>&6
++# cat >> confdefs.h <<\EOF
++# #define SP_HAVE_LOCALE 1
++# EOF
++#
++# else
++# echo "$ac_t""no" 1>&6
++# fi
+
+ echo $ac_n "checking for gettext""... $ac_c" 1>&6
+ echo "configure:1958: checking for gettext" >&5
diff --git a/textproc/openjade/patches/patch-ac b/textproc/openjade/patches/patch-ac
new file mode 100644
index 00000000000..35429ac229b
--- /dev/null
+++ b/textproc/openjade/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+
+--- style/Interpreter.cxx.orig Thu Oct 1 07:14:54 1998
++++ style/Interpreter.cxx
+@@ -184,7 +184,8 @@
+ };
+ size_t nUnits = dsssl2() ? SIZEOF(units) : SIZEOF(units) - 1;
+ for (size_t i = 0; i < nUnits; i++) {
+- Unit *unit = lookupUnit(makeStringC(units[i].name));
++ StringC temp = makeStringC(units[i].name); /* temp var to work around */
++ Unit *unit = lookupUnit(temp); /* compiler prob(?) */
+ long n = unitsPerInch_ * units[i].numer;
+ if (n % units[i].denom == 0)
+ unit->setValue(long(n / units[i].denom));