diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-01-21 16:53:35 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-01-21 16:53:35 +0000 |
commit | c9be4517f5a7e66aaaf73a86fd944dd868fa656b (patch) | |
tree | 6a5f53efa8a3d02c4057dc655e8299558d030bd3 /finance | |
parent | 0d90beee7b28456c5fe1d1e252813ceac610ae24 (diff) | |
download | ports-c9be4517f5a7e66aaaf73a86fd944dd868fa656b.tar.gz ports-c9be4517f5a7e66aaaf73a86fd944dd868fa656b.zip |
Add patch to enter overdue scheduled payments
PR: ports/76244
Submitted by: Alexander Novitsky (maintainer)
Notes
Notes:
svn path=/head/; revision=127030
Diffstat (limited to 'finance')
-rw-r--r-- | finance/kmymoney-kde4/Makefile | 1 | ||||
-rw-r--r-- | finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff | 31 | ||||
-rw-r--r-- | finance/kmymoney2/Makefile | 1 | ||||
-rw-r--r-- | finance/kmymoney2/files/patch-kenterscheduledialog.diff | 31 |
4 files changed, 64 insertions, 0 deletions
diff --git a/finance/kmymoney-kde4/Makefile b/finance/kmymoney-kde4/Makefile index af354f6a6a15..b37f95f79c03 100644 --- a/finance/kmymoney-kde4/Makefile +++ b/finance/kmymoney-kde4/Makefile @@ -7,6 +7,7 @@ PORTNAME= kmymoney2 PORTVERSION= 0.6.4 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff b/finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff new file mode 100644 index 000000000000..5cf7c0317cd6 --- /dev/null +++ b/finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff @@ -0,0 +1,31 @@ +Index: kmymoney2/dialogs/kenterscheduledialog.cpp +=================================================================== +RCS file: /cvsroot/kmymoney2/kmymoney2/kmymoney2/dialogs/kenterscheduledialog.cpp,v +retrieving revision 1.11.2.1 +retrieving revision 1.11.2.2 +diff -c -r1.11.2.1 -r1.11.2.2 +*** kmymoney2/dialogs/kenterscheduledialog.cpp 31 Jan 2004 12:53:42 -0000 1.11.2.1 +--- kmymoney2/dialogs/kenterscheduledialog.cpp 28 Dec 2004 22:41:52 -0000 1.11.2.2 +*************** +*** 994,1001 **** + + if (date < firstDate || date > nextDate) + { +! KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())); +! return false; + } + + return true; +--- 994,1005 ---- + + if (date < firstDate || date > nextDate) + { +! // KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())); +! +! // let the user continue anyway as the calculation is not always correct +! // proper fix will be available in 0.7/0.9. +! if (KMessageBox::warningContinueCancel(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())) != KMessageBox::Continue) +! return false; + } + + return true; diff --git a/finance/kmymoney2/Makefile b/finance/kmymoney2/Makefile index af354f6a6a15..b37f95f79c03 100644 --- a/finance/kmymoney2/Makefile +++ b/finance/kmymoney2/Makefile @@ -7,6 +7,7 @@ PORTNAME= kmymoney2 PORTVERSION= 0.6.4 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/finance/kmymoney2/files/patch-kenterscheduledialog.diff b/finance/kmymoney2/files/patch-kenterscheduledialog.diff new file mode 100644 index 000000000000..5cf7c0317cd6 --- /dev/null +++ b/finance/kmymoney2/files/patch-kenterscheduledialog.diff @@ -0,0 +1,31 @@ +Index: kmymoney2/dialogs/kenterscheduledialog.cpp +=================================================================== +RCS file: /cvsroot/kmymoney2/kmymoney2/kmymoney2/dialogs/kenterscheduledialog.cpp,v +retrieving revision 1.11.2.1 +retrieving revision 1.11.2.2 +diff -c -r1.11.2.1 -r1.11.2.2 +*** kmymoney2/dialogs/kenterscheduledialog.cpp 31 Jan 2004 12:53:42 -0000 1.11.2.1 +--- kmymoney2/dialogs/kenterscheduledialog.cpp 28 Dec 2004 22:41:52 -0000 1.11.2.2 +*************** +*** 994,1001 **** + + if (date < firstDate || date > nextDate) + { +! KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())); +! return false; + } + + return true; +--- 994,1005 ---- + + if (date < firstDate || date > nextDate) + { +! // KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())); +! +! // let the user continue anyway as the calculation is not always correct +! // proper fix will be available in 0.7/0.9. +! if (KMessageBox::warningContinueCancel(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())) != KMessageBox::Continue) +! return false; + } + + return true; |