summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2008-04-28 11:32:44 +0000
committerHanno Boeck <hanno@gentoo.org>2008-04-28 11:32:44 +0000
commit6d1f4e65bcf7cea442aa7c80ff0f15dc322f4af2 (patch)
treea703aba237a0bb2a7c4700a9551bbffe3a32ffe5 /app-office
parentmoved to app-dicts herd, added longdescription. (diff)
downloadhistorical-6d1f4e65bcf7cea442aa7c80ff0f15dc322f4af2.tar.gz
historical-6d1f4e65bcf7cea442aa7c80ff0f15dc322f4af2.tar.bz2
historical-6d1f4e65bcf7cea442aa7c80ff0f15dc322f4af2.zip
fix gcc4.3 and add ~amd64 for qbankmanager
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'app-office')
-rw-r--r--app-office/qbankmanager/ChangeLog6
-rw-r--r--app-office/qbankmanager/Manifest13
-rw-r--r--app-office/qbankmanager/files/qbankmanager-gcc-4.3.patch127
-rw-r--r--app-office/qbankmanager/qbankmanager-0.9.39.ebuild12
4 files changed, 148 insertions, 10 deletions
diff --git a/app-office/qbankmanager/ChangeLog b/app-office/qbankmanager/ChangeLog
index 91dd05fc8fb2..e6766290695b 100644
--- a/app-office/qbankmanager/ChangeLog
+++ b/app-office/qbankmanager/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/qbankmanager
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/qbankmanager/ChangeLog,v 1.30 2008/02/22 21:02:01 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/qbankmanager/ChangeLog,v 1.31 2008/04/28 11:32:43 hanno Exp $
+
+ 28 Apr 2008; Hanno Boeck <hanno@gentoo.org>
+ +files/qbankmanager-gcc-4.3.patch, qbankmanager-0.9.39.ebuild:
+ Add ~amd64 and fix compilation with gcc 4.3.
22 Feb 2008; Hanno Boeck <hanno@gentoo.org> -qbankmanager-0.9.38.ebuild,
qbankmanager-0.9.39.ebuild:
diff --git a/app-office/qbankmanager/Manifest b/app-office/qbankmanager/Manifest
index 4663de8b7e88..d9bbf0cde3ea 100644
--- a/app-office/qbankmanager/Manifest
+++ b/app-office/qbankmanager/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX qbankmanager-gcc-4.3.patch 2686 RMD160 1a9489b8114c969eb0a9d8137eb1d36b53bb21a4 SHA1 ac41a0e3d5fc70c92695f076bf5e0d6eafc65744 SHA256 df129a55408c67f18151971de9a8a01063e5d989a4959d5402dc4c6f22b997ff
DIST qbankmanager-0.9.39.tar.gz 662532 RMD160 00addbe5f69d55c6ffbc4193dd10e2b83b04eca3 SHA1 418e2675699b0c0c0a633806e06029311ec29195 SHA256 4b66d0afe93fa747b1f40ea82c2238da90501096aa1eac12abd9caab2f46769a
-EBUILD qbankmanager-0.9.39.ebuild 967 RMD160 a319ce4d1d39ab9669b65e999e4f601d0c89fd21 SHA1 1cc0cc515afce533019d95114071329be20106d4 SHA256 f8ac2fa46c7bc2ac09a730f67d07fad2d214b85d63c5e42dc90dec15996b650d
-MISC ChangeLog 4197 RMD160 dab87128e9847a1c0475b562a88866a415c754ee SHA1 eb030b77d9ed88cb70761c4938d4d7859ab006f7 SHA256 3e665d60cbaf1da592ef8aaeca8d433bfd4b04e7ab1a011a3acacdcaa5afcfc7
+EBUILD qbankmanager-0.9.39.ebuild 1067 RMD160 255e5aeb363fec9fd4e9e7a537848f43aafda394 SHA1 c89b3d1508e404dde83be41cf7e2b9e114060a5d SHA256 4e0c95d91589cf626552429ef814230a9f4008c975ec274ead8450cac289566e
+MISC ChangeLog 4356 RMD160 c9bc579f4b35f9e16275ec4ae67cde77a1a2e379 SHA1 98dd4abb464082ecfc69d307c72e9d27255c7348 SHA256 fad387f3de7bf72e1482b90ca2179a321d5cd5662e099b425d22f4c6fbc21a11
MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFHvzhSr2QksT29OyARApraAJ4lhk/nbui5/mSoas338x8mfhIwWACeP2QB
-0LBfjAZrDh8sZmGN8ESbF6U=
-=R64v
+iEYEARECAAYFAkgVtfAACgkQr2QksT29OyD0EgCggrGcWjdX24nKLimBoAw5d/6d
+RJgAnRF2OWoTL79T3odGaLTCPDRssJtl
+=x/Dt
-----END PGP SIGNATURE-----
diff --git a/app-office/qbankmanager/files/qbankmanager-gcc-4.3.patch b/app-office/qbankmanager/files/qbankmanager-gcc-4.3.patch
new file mode 100644
index 000000000000..aa3a05769813
--- /dev/null
+++ b/app-office/qbankmanager/files/qbankmanager-gcc-4.3.patch
@@ -0,0 +1,127 @@
+--- src/kbanking/libs/kbanking.cpp
++++ src/kbanking/libs/kbanking.cpp
+@@ -35,7 +35,7 @@
+ #include "graphreport.h"
+ /* Note: add new reports to fn _sampleReportModules() */
+
+-#include <assert.h>
++#include <cassert>
+ #include <qstring.h>
+ #include <qmessagebox.h>
+ #include <qinputdialog.h>
+--- src/kbanking/libs/prg/account.cpp
++++ src/kbanking/libs/prg/account.cpp
+@@ -20,7 +20,7 @@
+
+ #include <gwenhywfar/debug.h>
+ #include <stdlib.h>
+-#include <assert.h>
++#include <cassert>
+
+
+
+--- src/kbanking/libs/prg/category.cpp
++++ src/kbanking/libs/prg/category.cpp
+@@ -20,7 +20,7 @@
+
+ #include <gwenhywfar/debug.h>
+ #include <stdlib.h>
+-#include <assert.h>
++#include <cassert>
+
+
+
+--- src/kbanking/libs/prg/refpointer.h
++++ src/kbanking/libs/prg/refpointer.h
+@@ -32,12 +32,13 @@
+ *
+ * @short Smart pointer RefPointer with helper classes. No C wrappers.*/
+
+-#include <assert.h>
+ #include <gwenhywfar/debug.h>
+
+ #ifdef __cplusplus
+-#include <stdio.h> /* DEBUG */
++#include <cassert>
++#include <cstdio> /* DEBUG */
+ #include <string>
++#include <cstdlib>
+
+
+ class RefPointerBase;
+@@ -766,7 +767,8 @@
+ };
+
+ #endif /* DOXYGEN_HIDE */
+-
++#else
++#include <assert.h>
+ #endif /* __cplusplus */
+ #endif /* REFPOINTER_H */
+
+--- src/kbanking/libs/widgets/accountlist.cpp
++++ src/kbanking/libs/widgets/accountlist.cpp
+@@ -16,7 +16,7 @@
+
+
+ #include "accountlist.h"
+-#include <assert.h>
++#include <cassert>
+ #include <qstring.h>
+
+ #include <gwenhywfar/debug.h>
+--- src/kbanking/libs/widgets/categorylist.cpp
++++ src/kbanking/libs/widgets/categorylist.cpp
+@@ -18,7 +18,7 @@
+
+
+ #include "categorylist.h"
+-#include <assert.h>
++#include <cassert>
+
+ #include <qstring.h>
+ #include <qlistview.h>
+--- src/kbanking/libs/widgets/payeelist.cpp
++++ src/kbanking/libs/widgets/payeelist.cpp
+@@ -16,7 +16,7 @@
+
+
+ #include "payeelist.h"
+-#include <assert.h>
++#include <cassert>
+ #include <qstring.h>
+
+ #include <gwenhywfar/debug.h>
+--- src/kbanking/libs/widgets/stolist.cpp
++++ src/kbanking/libs/widgets/stolist.cpp
+@@ -16,7 +16,7 @@
+
+
+ #include "stolist.h"
+-#include <assert.h>
++#include <cassert>
+ #include <qstring.h>
+ #include <qpainter.h>
+ #include <qdatetime.h>
+--- src/kbanking/libs/widgets/transactionlist.cpp
++++ src/kbanking/libs/widgets/transactionlist.cpp
+@@ -20,7 +20,7 @@
+ #include "category.h"
+ #include "kbanking.h"
+
+-#include <assert.h>
++#include <cassert>
+ #include <qstring.h>
+ #include <qpainter.h>
+ #include <qdatetime.h>
+--- src/kbanking/libs/widgets/transferlist.cpp
++++ src/kbanking/libs/widgets/transferlist.cpp
+@@ -16,7 +16,7 @@
+
+
+ #include "transferlist.h"
+-#include <assert.h>
++#include <cassert>
+ #include <qstring.h>
+ #include <qpainter.h>
+ #include <qdatetime.h>
diff --git a/app-office/qbankmanager/qbankmanager-0.9.39.ebuild b/app-office/qbankmanager/qbankmanager-0.9.39.ebuild
index 67e818c62dd7..69ade436e8f1 100644
--- a/app-office/qbankmanager/qbankmanager-0.9.39.ebuild
+++ b/app-office/qbankmanager/qbankmanager-0.9.39.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/qbankmanager/qbankmanager-0.9.39.ebuild,v 1.6 2008/02/22 21:02:01 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/qbankmanager/qbankmanager-0.9.39.ebuild,v 1.7 2008/04/28 11:32:43 hanno Exp $
inherit eutils qt3
@@ -10,12 +10,12 @@ SRC_URI="mirror://sourceforge/aqbanking/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="ppc sparc x86"
+KEYWORDS="~amd64 ppc sparc x86"
IUSE="debug"
DEPEND=">=net-libs/aqbanking-2.2.5
=x11-libs/qt-3*"
-S=${WORKDIR}/${P}
+S="${WORKDIR}/${P}"
pkg_setup() {
if ! built_with_use net-libs/aqbanking qt3; then
@@ -25,6 +25,12 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/qbankmanager-gcc-4.3.patch"
+}
+
src_compile() {
econf PATH="/usr/qt/3/bin:${PATH}" \
`use_enable debug` || die