7e6f6161e9
The main problem with this package is that sqlite2 was building automatically, but the makefile for it was broken. The QTDIR variable wasn't getting expanded in the makefile, so the rpath for sqlite3 library was corrupt. Once the Makefile was fixed, libsqlite3.so built normally, but it didn't get installed due to another Makefile issue. Finally, it built and installed, but then the PLIST was missing its entry. After everything was verified building ok, I discovered somebody had added and then commented out "sqlite3" option. Since it's building by default, I took this option out. If somebody else decides that it should be optional, I'll let them tweak the configure args, PLIST, and options file to make that happen.
17 lines
878 B
C++
17 lines
878 B
C++
$NetBSD: patch-kmymoney2_mymoney_mymoneymoney.cpp,v 1.1 2011/12/10 17:50:23 marino Exp $
|
|
|
|
--- kmymoney2/mymoney/mymoneymoney.cpp.orig 2010-03-02 09:45:39.000000000 +0000
|
|
+++ kmymoney2/mymoney/mymoneymoney.cpp
|
|
@@ -46,9 +46,9 @@ bool MyMoneyMoney::_positivePrefixCurren
|
|
|
|
MyMoneyMoney::fileVersionE MyMoneyMoney::_fileVersion = MyMoneyMoney::FILE_4_BYTE_VALUE;
|
|
|
|
-MyMoneyMoney MyMoneyMoney::maxValue = MyMoneyMoney(INT64_MAX,100);
|
|
-MyMoneyMoney MyMoneyMoney::minValue = MyMoneyMoney(INT64_MIN,100);
|
|
-MyMoneyMoney MyMoneyMoney::autoCalc = MyMoneyMoney(INT64_MIN+1,100);
|
|
+MyMoneyMoney MyMoneyMoney::maxValue = MyMoneyMoney((signed64)INT64_MAX,100);
|
|
+MyMoneyMoney MyMoneyMoney::minValue = MyMoneyMoney((signed64)INT64_MIN,100);
|
|
+MyMoneyMoney MyMoneyMoney::autoCalc = MyMoneyMoney((signed64)INT64_MIN+1,100);
|
|
|
|
void MyMoneyMoney::setNegativePrefixCurrencySymbol(const bool flag)
|
|
{
|