diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-11-10 01:56:10 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-11-10 01:56:10 +0000 |
commit | a89378820f9062a90cb487c413212dba2b41c87e (patch) | |
tree | 073c60f87607650e658e0034bfd33a3a47e73e30 /deskutils/kdepim3 | |
parent | 1bc9fd359f4e76bf23ce607f26dda20dccb29f14 (diff) |
Fix korganizer crashbug on amd64.
Submitted by: Arjan Van Leeuwen <avleeuwen@gmail.com>
Notes
Notes:
svn path=/head/; revision=121271
Diffstat (limited to 'deskutils/kdepim3')
-rw-r--r-- | deskutils/kdepim3/Makefile | 1 | ||||
-rw-r--r-- | deskutils/kdepim3/files/patch-korganizer_plugins_holidays_holidays.cpp | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/deskutils/kdepim3/Makefile b/deskutils/kdepim3/Makefile index 8d1f5b2007cd..6a05acaa13a3 100644 --- a/deskutils/kdepim3/Makefile +++ b/deskutils/kdepim3/Makefile @@ -7,6 +7,7 @@ PORTNAME= kdepim PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES= deskutils mail news palm kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src diff --git a/deskutils/kdepim3/files/patch-korganizer_plugins_holidays_holidays.cpp b/deskutils/kdepim3/files/patch-korganizer_plugins_holidays_holidays.cpp new file mode 100644 index 000000000000..f45af6e70a48 --- /dev/null +++ b/deskutils/kdepim3/files/patch-korganizer_plugins_holidays_holidays.cpp @@ -0,0 +1,11 @@ +--- korganizer/plugins/holidays/holidays.cpp.orig Tue Nov 9 21:00:17 2004 ++++ korganizer/plugins/holidays/holidays.cpp Tue Nov 9 21:01:01 2004 +@@ -91,7 +91,7 @@ + //static int lastYear = 0; + int lastYear = 0; + +- if (mHolidayFile.isEmpty()) return QString::null; ++ if (mHolidayFile.isEmpty() || qd.isNull()) return QString::null; + + //if ((lastYear == 0) || (qd.year() != lastYear)) { + if ((yearLast == 0) || (qd.year() != yearLast)) { |