--- mailutils-2.2/libmu_scm/mu_message.c.orig 2013-06-01 17:26:58.647144139 +0200 +++ mailutils-2.2/libmu_scm/mu_message.c 2013-06-01 17:27:16.945963528 +0200 @@ -511,7 +511,7 @@ SCM car = SCM_CAR (lst); if (scm_is_string (car) && mu_c_strncasecmp (scm_i_string_chars (car), name, - scm_i_string_length (car)) == 0) + scm_c_string_length (car)) == 0) return 1; } return 0; diff -Nru mailutils-2.2.orig/configure mailutils-2.2/configure --- mailutils-2.2.orig/configure 2010-09-08 11:59:25.000000000 +0200 +++ mailutils-2.2/configure 2013-06-02 17:56:58.470399782 +0200 @@ -54807,7 +54807,7 @@ #define WITH_GUILE 1 _ACEOF - GUILE_BINDIR=`guile-config info bindir` + GUILE_BINDIR=`guile-config info prefix`/bin LIBMU_SCM=../libmu_scm/libmu_scm.la LIBMU_SCM_DEPS='${MU_LIB_MBOX} ${MU_LIB_IMAP} ${MU_LIB_POP} ${MU_LIB_MH} ${MU_LIB_MAILDIR} ${MU_LIB_MAILER}' MU_GUILE_SIEVE_MOD_DIR='$(GUILE_SITE)/$(PACKAGE)/sieve-modules' diff -Nru mailutils-2.2.orig/configure.ac mailutils-2.2/configure.ac --- mailutils-2.2.orig/configure.ac 2010-09-08 10:48:15.000000000 +0200 +++ mailutils-2.2/configure.ac 2013-06-02 17:57:08.116298830 +0200 @@ -1071,7 +1071,7 @@ GINT_INIT([gint],[1.8 with-guile], [useguile=yes AC_DEFINE([WITH_GUILE],1,[Enable Guile support]) - GUILE_BINDIR=`guile-config info bindir` + GUILE_BINDIR=`guile-config info prefix`/bin LIBMU_SCM=../libmu_scm/libmu_scm.la LIBMU_SCM_DEPS='${MU_LIB_MBOX} ${MU_LIB_IMAP} ${MU_LIB_POP} ${MU_LIB_MH} ${MU_LIB_MAILDIR} ${MU_LIB_MAILER}' MU_GUILE_SIEVE_MOD_DIR='$(GUILE_SITE)/$(PACKAGE)/sieve-modules'