aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/isearch
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-02-11 09:48:22 +0800
committerasami <asami@FreeBSD.org>2000-02-11 09:48:22 +0800
commit7f83aaf970b681b138ff0831a1effd63b309fb27 (patch)
tree5cf1293787ec474146369ea834601ba867fef626 /textproc/isearch
parent174b2fe8e5f889a8b4525fea78a26539b8c4b9ac (diff)
downloadfreebsd-ports-gnome-7f83aaf970b681b138ff0831a1effd63b309fb27.tar.gz
freebsd-ports-gnome-7f83aaf970b681b138ff0831a1effd63b309fb27.tar.zst
freebsd-ports-gnome-7f83aaf970b681b138ff0831a1effd63b309fb27.zip
Fix new gcc errors ("const" -> "const int").
Submitted by: Alexander Langer <alex@big.endian.de>
Diffstat (limited to 'textproc/isearch')
-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.