2.5.9 build issues

Wolfgang Breyha wbreyha at gmx.net
Sat Aug 20 10:40:36 EDT 2016


After modifying my spec file from 2.5.8 to 2.5.9 I ended up with two new
issues:

*) jcal.c can't be compiled with jansson < 2.7 (eg. every RHEL) because
json_boolean_value() is missing. I fixed it with:
-------------
--- cyrus-imapd-2.5.9/imap/jcal.h.orig	2016-08-20 16:20:52.049359274 +0200
+++ cyrus-imapd-2.5.9/imap/jcal.h	2016-08-20 16:21:03.719723892 +0200
@@ -50,6 +50,10 @@

 #include "util.h"

+#if (JANSSON_MINOR_VERSION < 7)
+#define json_boolean_value     json_is_true
+#endif
+
 extern char *icalcomponent_as_jcal_string(icalcomponent* comp);
 extern icalcomponent *jcal_string_as_icalcomponent(const char *str);
 extern const char *begin_jcal(struct buf *buf);
------------

*) htmlstrip.c gets installed as source to /usr/lib/cyrus-imapd. It seems
it doesn't get compiled at all and the source gets installed instead.

Greetings, Wolfgang
-- 
Wolfgang Breyha <wbreyha at gmx.net> | http://www.blafasel.at/
Vienna University Computer Center | Austria


More information about the Info-cyrus mailing list