nixpkgs-suyu/pkgs/tools/networking/mailutils/scm_c_string.patch
Rahul Gopinath 27a9ef8709 mailutils: fix build break
See #14606 for the breakage. It is fixed by using default guile 2.0
Also addes support for fribidi, sasl, and gssapi
2016-07-03 22:50:39 -07:00

15 lines
587 B
Diff

See https://lists.gnu.org/archive/html/bug-mailutils/2010-10/msg00005.html
diff -u mailutils-2.2/libmu_scm/mu_message.c mailutils-2.2.new/libmu_scm/mu_message.c
--- mailutils-2.2/libmu_scm/mu_message.c 2010-04-18 10:29:07.000000000 -0700
+++ mailutils-2.2.new/libmu_scm/mu_message.c 2016-07-03 21:18:53.746185547 -0700
@@ -510,8 +510,8 @@
{
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;