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/files
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/files')
-rw-r--r--sci-electronics/ktechlab/files/ktechlab-0.1.3-gcc41.patch34
1 files changed, 34 insertions, 0 deletions
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;
+