summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-25 21:28:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-25 21:28:34 +0000
commit7ad2ec78e3eee547662251edfce8535d5054f511 (patch)
tree27bfdf4e283ab6d9d2cfc2aa011bb09f2777bedd /sci-electronics/ktechlab
parentand here too (diff)
downloadgentoo-2-7ad2ec78e3eee547662251edfce8535d5054f511.tar.gz
gentoo-2-7ad2ec78e3eee547662251edfce8535d5054f511.tar.bz2
gentoo-2-7ad2ec78e3eee547662251edfce8535d5054f511.zip
Add patch to build with GCC 4.1.
(Portage version: 2.1_pre6-r7)
Diffstat (limited to 'sci-electronics/ktechlab')
-rw-r--r--sci-electronics/ktechlab/ChangeLog6
-rw-r--r--sci-electronics/ktechlab/files/ktechlab-0.1.3-gcc41.patch34
-rw-r--r--sci-electronics/ktechlab/ktechlab-0.1.3.ebuild5
3 files changed, 43 insertions, 2 deletions
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ò <flameeyes@gentoo.org>
+ +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 <lanius@gentoo.org> ktechlab-0.1.3.ebuild:
fix URL
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 <qimage.h>
+ #include <map>
+
++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"
+