summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-02-11 01:48:22 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-02-11 01:48:22 +0000
commite6762aeb44ae840f1bef5088c2c34aac4f953080 (patch)
tree6caa2bd82a4de964064cbd5883456445475968af /textproc
parentPortlint (diff)
Fix new gcc errors ("const" -> "const int").
Submitted by: Alexander Langer <alex@big.endian.de>
Notes
Notes: svn path=/head/; revision=25651
Diffstat (limited to 'textproc')
-rw-r--r--textproc/isearch/files/patch-ab11
-rw-r--r--textproc/isearch/files/patch-ac11
2 files changed, 22 insertions, 0 deletions
diff --git a/textproc/isearch/files/patch-ab b/textproc/isearch/files/patch-ab
new file mode 100644
index 000000000000..1b3bc147483c
--- /dev/null
+++ b/textproc/isearch/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/index.cxx.old Thu Feb 10 20:39:15 2000
++++ src/index.cxx Thu Feb 10 20:39:24 2000
+@@ -530,7 +530,7 @@
+ }
+
+ GDT_BOOLEAN INDEX::ValidateInField(const GPTYPE HitGp, const STRING& FieldName,
+- const PhraseLength) {
++ const int PhraseLength) {
+ STRING Fn;
+ Parent->DfdtGetFileName(FieldName, &Fn);
+ PFILE Fp = Parent->ffopen(Fn, "rb");
diff --git a/textproc/isearch/files/patch-ac b/textproc/isearch/files/patch-ac
new file mode 100644
index 000000000000..a2470c6c61dd
--- /dev/null
+++ b/textproc/isearch/files/patch-ac
@@ -0,0 +1,11 @@
+--- doctype/sgmlnorm.cxx.old Thu Feb 10 20:45:12 2000
++++ doctype/sgmlnorm.cxx Thu Feb 10 20:45:23 2000
+@@ -528,7 +528,7 @@
+ #ifndef TAG_GROW_SIZE
+ #define TAG_GROW_SIZE 128
+ #endif
+- const grow_size = TAG_GROW_SIZE;
++ const int grow_size = TAG_GROW_SIZE;
+ #undef TAG_GROW_SIZE
+
+ // You should allocate character pointers (to tags) as you need them.