Gauche-readlineのコンパイルエラー

Gauche 0.8.9からGauche 0.8.10でScm_Substringに第四引数としてbyterangeが追加されたためみたい。

--- readlinelib.stub.orig	2007-05-09 00:48:44.000000000 +0900
+++ readlinelib.stub	2007-05-18 02:19:43.000000000 +0900
@@ -110,7 +110,7 @@
 
      if (stext_len > cmp_len) { continue; }
 
-     if (Scm_StringEqual(SCM_STRING(stext), SCM_STRING(Scm_Substring(SCM_STRING(cmp), 0, stext_len)))) {
+     if (Scm_StringEqual(SCM_STRING(stext), SCM_STRING(Scm_Substring(SCM_STRING(cmp), 0, stext_len, FALSE)))) {
        list = SCM_CDR(p); /* save current list position */
        return strdup(Scm_GetString(SCM_STRING(cmp))); /* found. */
      }

こんなんでいいのかな。