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@
This commit is contained in:
stsp 2010-01-06 16:45:13 +00:00
parent 7ef0c5c7ee
commit c17d62956f
2 changed files with 16 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2009/12/21 16:07:44 landry Exp $
# $OpenBSD: Makefile,v 1.18 2010/01/06 16:45:13 stsp Exp $
COMMENT= Xfce4 advanced calendar
XFCE_GOODIE= orage
PKGNAME= ${DISTNAME}p1
PKGNAME= ${DISTNAME}p2
HOMEPAGE= http://www.xfce.org/projects/orage
# GPLv2

View File

@ -0,0 +1,14 @@
$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"