Control: tags -1 + patch pending Dear maintainer,
I've prepared an NMU for kmymoney (versioned as 4.6.2-3.3) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards -- Sebastian Ramacher
diff -Nru kmymoney-4.6.2/debian/changelog kmymoney-4.6.2/debian/changelog --- kmymoney-4.6.2/debian/changelog 2012-12-22 17:34:04.000000000 +0100 +++ kmymoney-4.6.2/debian/changelog 2013-05-20 11:09:53.000000000 +0200 @@ -1,3 +1,11 @@ +kmymoney (4.6.2-3.3) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches/gmp5.patch: Apply upstream patch to fix builds with newer + GMP. (Closes: #707374) + + -- Sebastian Ramacher <sramac...@debian.org> Mon, 20 May 2013 11:09:49 +0200 + kmymoney (4.6.2-3.2) unstable; urgency=low * Non-maintainer upload. diff -Nru kmymoney-4.6.2/debian/patches/gmp5.patch kmymoney-4.6.2/debian/patches/gmp5.patch --- kmymoney-4.6.2/debian/patches/gmp5.patch 1970-01-01 01:00:00.000000000 +0100 +++ kmymoney-4.6.2/debian/patches/gmp5.patch 2013-05-20 11:08:03.000000000 +0200 @@ -0,0 +1,17 @@ +Description: Fix build with GMP 5 +Origin: upstream, + https://projects.kde.org/projects/extragear/office/kmymoney/repository/revisions/77209f84a85360e98d2e805d412956a8f2a77db3 +Bug-Debian: http://bugs.debian.org/707374 +Last-Update: 2013-05-20 + +--- kmymoney-4.6.2.orig/kmymoney/mymoney/mymoneymoney.cpp ++++ kmymoney-4.6.2/kmymoney/mymoney/mymoneymoney.cpp +@@ -164,7 +164,7 @@ QString MyMoneyMoney::formatMoney(const + // be much better than using KGlobal::locale()->formatMoney. + bool bNegative = false; + mpz_class left = value / static_cast<MyMoneyMoney>(convertDenominator(d)).valueRef().get_den(); +- mpz_class right = (valueRef() - mpq_class(left)) * denom; ++ mpz_class right = mpz_class((valueRef() - mpq_class(left)) * denom); + + if (right < 0) { + right = -right; diff -Nru kmymoney-4.6.2/debian/patches/series kmymoney-4.6.2/debian/patches/series --- kmymoney-4.6.2/debian/patches/series 2012-12-22 01:10:06.000000000 +0100 +++ kmymoney-4.6.2/debian/patches/series 2013-05-20 11:08:55.000000000 +0200 @@ -1,3 +1,4 @@ qdebug_overload-1.patch fix-link-flags.diff 694868.patch +gmp5.patch
signature.asc
Description: Digital signature
_______________________________________________ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras