diff options
-rw-r--r-- | deskutils/kdepim3/Makefile | 1 | ||||
-rw-r--r-- | deskutils/kdepim3/files/patch-korganizer_plugins_holidays_holidays.cpp | 11 | ||||
-rw-r--r-- | deskutils/kdepim4/Makefile | 1 | ||||
-rw-r--r-- | deskutils/kdepim4/files/patch-korganizer_plugins_holidays_holidays.cpp | 11 | ||||
-rw-r--r-- | deskutils/kdepim44/Makefile | 1 | ||||
-rw-r--r-- | deskutils/kdepim44/files/patch-korganizer_plugins_holidays_holidays.cpp | 11 |
6 files changed, 36 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)) { diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile index 8d1f5b2007cd..6a05acaa13a3 100644 --- a/deskutils/kdepim4/Makefile +++ b/deskutils/kdepim4/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/kdepim4/files/patch-korganizer_plugins_holidays_holidays.cpp b/deskutils/kdepim4/files/patch-korganizer_plugins_holidays_holidays.cpp new file mode 100644 index 000000000000..f45af6e70a48 --- /dev/null +++ b/deskutils/kdepim4/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)) { 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)) { |