diff options
author | lofi <lofi@FreeBSD.org> | 2004-11-10 09:56:10 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-11-10 09:56:10 +0800 |
commit | 4924ba2d1d500beef4846879c7470059f49b6f3d (patch) | |
tree | d807537ab8ebc584dce912322c2bdcbc6b13537e /deskutils/kdepim44 | |
parent | f9e0e3e3dc7971cd2a41aa15022bced7f9dfc3cb (diff) | |
download | freebsd-ports-gnome-4924ba2d1d500beef4846879c7470059f49b6f3d.tar.gz freebsd-ports-gnome-4924ba2d1d500beef4846879c7470059f49b6f3d.tar.zst freebsd-ports-gnome-4924ba2d1d500beef4846879c7470059f49b6f3d.zip |
Fix korganizer crashbug on amd64.
Submitted by: Arjan Van Leeuwen <avleeuwen@gmail.com>
Diffstat (limited to 'deskutils/kdepim44')
-rw-r--r-- | deskutils/kdepim44/Makefile | 1 | ||||
-rw-r--r-- | deskutils/kdepim44/files/patch-korganizer_plugins_holidays_holidays.cpp | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/deskutils/kdepim44/Makefile b/deskutils/kdepim44/Makefile index 8d1f5b2007cd..6a05acaa13a3 100644 --- a/deskutils/kdepim44/Makefile +++ b/deskutils/kdepim44/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/kdepim44/files/patch-korganizer_plugins_holidays_holidays.cpp b/deskutils/kdepim44/files/patch-korganizer_plugins_holidays_holidays.cpp new file mode 100644 index 000000000000..f45af6e70a48 --- /dev/null +++ b/deskutils/kdepim44/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)) { |