FreeBSD Bugzilla – Attachment 49979 Details for
Bug 76244
[PATCH] finance/kmymoney2: Add patch to enter overdue sheduled payments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
kmymoney2-0.6.4_1.patch
kmymoney2-0.6.4_1.patch (text/plain), 2.25 KB, created by
alecn2002
on 2005-01-14 12:40:21 UTC
(
hide
)
Description:
kmymoney2-0.6.4_1.patch
Filename:
MIME Type:
Creator:
alecn2002
Created:
2005-01-14 12:40:21 UTC
Size:
2.25 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/finance/kmymoney2.orig/Makefile /usr/ports/finance/kmymoney2/Makefile >--- /usr/ports/finance/kmymoney2.orig/Makefile Fri Jan 14 14:37:41 2005 >+++ /usr/ports/finance/kmymoney2/Makefile Fri Jan 14 15:25:36 2005 >@@ -7,6 +7,7 @@ > > PORTNAME= kmymoney2 > PORTVERSION= 0.6.4 >+PORTREVISION= 1 > CATEGORIES= finance > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -21,5 +22,11 @@ > > MAN1= kmymoney2.1 > MANCOMPRESSED= yes >+ >+# >+# Testing targets >+# >+show-docsdir: >+ @${ECHO} DOCSDIR = ${DOCSDIR} > > .include <bsd.port.mk> >diff -ruN --exclude=CVS /usr/ports/finance/kmymoney2.orig/files/patch-kenterscheduledialog.diff /usr/ports/finance/kmymoney2/files/patch-kenterscheduledialog.diff >--- /usr/ports/finance/kmymoney2.orig/files/patch-kenterscheduledialog.diff Thu Jan 1 03:00:00 1970 >+++ /usr/ports/finance/kmymoney2/files/patch-kenterscheduledialog.diff Fri Jan 14 14:41:14 2005 >@@ -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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76244
: 49979