diff options
Diffstat (limited to 'deskutils/kdepim4')
-rw-r--r-- | deskutils/kdepim4/Makefile | 2 | ||||
-rw-r--r-- | deskutils/kdepim4/files/patch-libkcal_libical_src_libicalss-icalclassify.c | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile index 03fecec8c56a..758dd162ab70 100644 --- a/deskutils/kdepim4/Makefile +++ b/deskutils/kdepim4/Makefile @@ -7,7 +7,7 @@ PORTNAME= kdepim PORTVERSION= ${KDE_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils mail news palm kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src diff --git a/deskutils/kdepim4/files/patch-libkcal_libical_src_libicalss-icalclassify.c b/deskutils/kdepim4/files/patch-libkcal_libical_src_libicalss-icalclassify.c new file mode 100644 index 000000000000..ea51bdeb86a3 --- /dev/null +++ b/deskutils/kdepim4/files/patch-libkcal_libical_src_libicalss-icalclassify.c @@ -0,0 +1,26 @@ +--- libkcal/libical/src/libicalss/icalclassify.c.orig Mon Oct 10 17:02:27 2005 ++++ libkcal/libical/src/libicalss/icalclassify.c Tue Mar 14 14:58:48 2006 +@@ -221,7 +221,10 @@ + + p = icalcomponent_get_first_property(inner,ICAL_ORGANIZER_PROPERTY); + if(p!=0){ +- parts->organizer = strdup(icalproperty_get_organizer(p)); ++ const char *p_organizer = icalproperty_get_organizer(p); ++ if (p_organizer!=0) { ++ parts->organizer = strdup(p_organizer); ++ } + } + + p = icalcomponent_get_first_property(inner,ICAL_SEQUENCE_PROPERTY); +@@ -231,7 +234,10 @@ + + p = icalcomponent_get_first_property(inner,ICAL_UID_PROPERTY); + if(p!=0){ +- parts->uid = strdup(icalproperty_get_uid(p)); ++ const char *p_uid = icalproperty_get_uid(p); ++ if (p_uid!=0) { ++ parts->uid = strdup(p_uid); ++ } + } + + p = icalcomponent_get_first_property(inner,ICAL_RECURRENCEID_PROPERTY); |