openbsd-ports/x11/xfce4/orage/patches/patch-src_ical-code_c
stsp c17d62956f Orage was picking up ical.h via -I/usr/local/include but linking to
an older version of libical which is shipping in the orage tarball.
The header and the library are not compatible, some enum constants
don't match up. So orage could not read ical files correctly which
prevented e.g. appointments from showing up in the calendar.
Force inclusion of the ical headers which ship with orage to fix this.

"sure" landry@
2010-01-06 16:45:13 +00:00

15 lines
436 B
Plaintext

$OpenBSD: patch-src_ical-code_c,v 1.1 2010/01/06 16:45:13 stsp Exp $
--- src/ical-code.c.orig Wed Jan 6 15:13:02 2010
+++ src/ical-code.c Wed Jan 6 15:13:45 2010
@@ -51,8 +51,8 @@
#include <gtk/gtk.h>
#include <glib/gprintf.h>
#include <glib/gstdio.h>
-#include <ical.h>
-#include <icalss.h>
+#include "../libical/src/libical/ical.h"
+#include "../libical/src/libicalss/icalss.h"
#include "orage-i18n.h"
#include "functions.h"