From 0bd65ddce069fcf5f47322e7616502f3d2aef880 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sat, 25 Mar 2006 21:28:34 +0000 Subject: Add patch to build with GCC 4.1. Package-Manager: portage-2.1_pre6-r7 --- sci-electronics/ktechlab/ChangeLog | 6 +++- sci-electronics/ktechlab/Manifest | 25 ++++++++++++---- .../ktechlab/files/ktechlab-0.1.3-gcc41.patch | 34 ++++++++++++++++++++++ sci-electronics/ktechlab/ktechlab-0.1.3.ebuild | 5 +++- 4 files changed, 62 insertions(+), 8 deletions(-) create mode 100644 sci-electronics/ktechlab/files/ktechlab-0.1.3-gcc41.patch (limited to 'sci-electronics') diff --git a/sci-electronics/ktechlab/ChangeLog b/sci-electronics/ktechlab/ChangeLog index 811850de8e4a..1aad2f2afea4 100644 --- a/sci-electronics/ktechlab/ChangeLog +++ b/sci-electronics/ktechlab/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-electronics/ktechlab # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ktechlab/ChangeLog,v 1.3 2006/02/20 09:35:32 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ktechlab/ChangeLog,v 1.4 2006/03/25 21:28:34 flameeyes Exp $ + + 25 Mar 2006; Diego Pettenò + +files/ktechlab-0.1.3-gcc41.patch, ktechlab-0.1.3.ebuild: + Add patch to build with GCC 4.1. 20 Feb 2006; Heinrich Wendel ktechlab-0.1.3.ebuild: fix URL diff --git a/sci-electronics/ktechlab/Manifest b/sci-electronics/ktechlab/Manifest index 67ae5660247a..ac32d8af0174 100644 --- a/sci-electronics/ktechlab/Manifest +++ b/sci-electronics/ktechlab/Manifest @@ -1,12 +1,25 @@ -MD5 bc867792630688015e54ac3c4fdd5e7a ChangeLog 737 -RMD160 9e225e51f76aac44a4702a88ecd01d2fdd7b7280 ChangeLog 737 -SHA256 f6f064aa4b76115bc9edb0bc34173e6a685f5563b42a968a62207285a27724e4 ChangeLog 737 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 caf205a1052b20efb9b55d1f5c66a807 ChangeLog 889 +RMD160 ee258a46e3e2baf575794e331fb889174b20aee4 ChangeLog 889 +SHA256 1137581cb2ab7bfb9c4080b3ed988a1bda8738615974294b3b311c8f3b1981d8 ChangeLog 889 MD5 68b92d3c2b4c05993fe9bea01d6b5cf0 files/digest-ktechlab-0.1.3 67 RMD160 07d15d595fddf8ff22a002c93dbcc1bf4bc644fd files/digest-ktechlab-0.1.3 67 SHA256 7dee8ce32392669a572128d465ea122878ef7ae3bffdf81096cc7fdaeb314d24 files/digest-ktechlab-0.1.3 67 -MD5 05e136de23db9df52c1218e24beed68d ktechlab-0.1.3.ebuild 560 -RMD160 81ee48f4f50f2b57d86a5aa02c96592a55dc42fc ktechlab-0.1.3.ebuild 560 -SHA256 e92306c20018bb0f0b1a9c31be417502e289597ae7da5495ba9270aa83b75250 ktechlab-0.1.3.ebuild 560 +MD5 d8eac6551ef3367f2b51dc3d6d4d235b files/ktechlab-0.1.3-gcc41.patch 1062 +RMD160 8929263f5598d1f58353f459b8db827ac2213f17 files/ktechlab-0.1.3-gcc41.patch 1062 +SHA256 cb438c12cf57893166aa64ed62d5ec5b709cfc7f1409ad1a215186d5901920bf files/ktechlab-0.1.3-gcc41.patch 1062 +MD5 6bb686257bab23d758d7eb60a4927dda ktechlab-0.1.3.ebuild 604 +RMD160 d0565eb3e971d91546d496dc6a3523e9480b8ad6 ktechlab-0.1.3.ebuild 604 +SHA256 b3672e6d92e812f36edbe011d83a592eda2b18765194898d40e439ee0c0e21f0 ktechlab-0.1.3.ebuild 604 MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253 RMD160 bfa92d311ac4e8cc9a2190f578925f333ae096a8 metadata.xml 253 SHA256 8e0389110e0cd8cc331b484cde34c22dd93f9f49df16c2263eea4d8e84093976 metadata.xml 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFEJbXjAiZjviIA2XgRAitFAKC13zCTZicgVeLeLapJUZu+kHICYwCgzNm1 +xv7KRjVl9s299VzTTXpOvM0= +=xv4Y +-----END PGP SIGNATURE----- diff --git a/sci-electronics/ktechlab/files/ktechlab-0.1.3-gcc41.patch b/sci-electronics/ktechlab/files/ktechlab-0.1.3-gcc41.patch new file mode 100644 index 000000000000..4450d949c232 --- /dev/null +++ b/sci-electronics/ktechlab/files/ktechlab-0.1.3-gcc41.patch @@ -0,0 +1,34 @@ +Index: ktechlab-0.1.3/src/canvasview.h +=================================================================== +--- ktechlab-0.1.3.orig/src/canvasview.h ++++ ktechlab-0.1.3/src/canvasview.h +@@ -20,6 +20,7 @@ + + class Canvas; + class CanvasCorner; ++class CanvasEditor; + class CanvasItem; + class CanvasItemGroup; + class CanvasTip; +@@ -581,7 +582,7 @@ protected: + /** + * Set to true to remove buttons and grid and so on from the canvas, set false to put them back + */ +- void CanvasView::setSVGExport( bool svgExport ); ++ void setSVGExport( bool svgExport ); + /** + * Creates a new NodeGroup to control the node, if there does not already + * exist a NodeGroup containing the given node. The associated nodes will +Index: ktechlab-0.1.3/src/itemlibrary.h +=================================================================== +--- ktechlab-0.1.3.orig/src/itemlibrary.h ++++ ktechlab-0.1.3/src/itemlibrary.h +@@ -17,6 +17,8 @@ + #include + #include + ++class ItemLibrary; ++ + inline ItemLibrary* itemLibrary(); + typedef std::map< QString, QImage > ImageMap; + diff --git a/sci-electronics/ktechlab/ktechlab-0.1.3.ebuild b/sci-electronics/ktechlab/ktechlab-0.1.3.ebuild index a0244e690973..a581425dd3ed 100644 --- a/sci-electronics/ktechlab/ktechlab-0.1.3.ebuild +++ b/sci-electronics/ktechlab/ktechlab-0.1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ktechlab/ktechlab-0.1.3.ebuild,v 1.2 2006/02/20 09:35:32 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ktechlab/ktechlab-0.1.3.ebuild,v 1.3 2006/03/25 21:28:34 flameeyes Exp $ inherit kde @@ -19,3 +19,6 @@ DEPEND=">=dev-embedded/gpsim-0.21" need-kde 3.2 UNSERMAKE="" + +PATCHES="${FILESDIR}/${P}-gcc41.patch" + -- cgit v1.2.3-65-gdbad