[Kdenlive-devel] [patch] compiling kdenlive with gcc 3.4

Mathijs Mohlmann mathijs at knoware.nl
Wed Oct 13 13:09:04 UTC 2004


	using gentoo and gcc 3.4 I had to apply the following patch to
get kdenlive 0.2.4 to compile:

diff -ru kdenlive-0.2.4/kdenlive/docclipbaselist.h kdenlive-0.2.4.sav/kdenlive/docclipbaselist.h
--- kdenlive-0.2.4/kdenlive/docclipbaselist.h	2003-12-17 01:14:12.000000000 +0100
+++ kdenlive-0.2.4.sav/kdenlive/docclipbaselist.h	2004-10-13 14:45:51.665341837 +0200
@@ -49,7 +49,7 @@
 	/** The "master clip" of this list. The master clip is special only in that it is mentioned
 	seperately to every other clip in the clip list; it also appears in the clip list. It is
 	singled out so that operations that require a master clip can	make use of it. */
-	DocClipBase * m_masterClip;;
+	DocClipBase * m_masterClip;
 };
 
 #endif
diff -ru kdenlive-0.2.4/kdenlive/docclipreflist.h kdenlive-0.2.4.sav/kdenlive/docclipreflist.h
--- kdenlive-0.2.4/kdenlive/docclipreflist.h	2003-12-17 01:14:58.000000000 +0100
+++ kdenlive-0.2.4.sav/kdenlive/docclipreflist.h	2004-10-13 14:45:17.239736652 +0200
@@ -49,7 +49,7 @@
 	/** The "master clip" of this list. The master clip is special only in that it is mentioned
 	seperately to every other clip in the clip list; it also appears in the clip list. It is
 	singled out so that operations that require a master clip can	make use of it. */
-	DocClipRef * m_masterClip;;
+	DocClipRef * m_masterClip;
 };
 
 #endif
diff -ru kdenlive-0.2.4/kdenlive/doctrackbase.h kdenlive-0.2.4.sav/kdenlive/doctrackbase.h
--- kdenlive-0.2.4/kdenlive/doctrackbase.h	2003-12-17 01:14:12.000000000 +0100
+++ kdenlive-0.2.4.sav/kdenlive/doctrackbase.h	2004-10-13 14:45:30.860602135 +0200
@@ -67,7 +67,7 @@
 	/** Adds all of the clips in the pointerlist into this track. */
 	void addClips(DocClipRefList list, bool selected);
 	/** returns true if all of the clips within the cliplist can be added, returns false otherwise. */
-	bool canAddClips(DocClipRefList clipList);;
+	bool canAddClips(DocClipRefList clipList);
 	/** Returns true if the clip given exists in this track, otherwise returns
 	false. */
 	bool clipExists(DocClipRef *clip);
diff -ru kdenlive-0.2.4/kdenlive/kaddmarkercommand.cpp kdenlive-0.2.4.sav/kdenlive/kaddmarkercommand.cpp
--- kdenlive-0.2.4/kdenlive/kaddmarkercommand.cpp	2003-12-17 01:15:02.000000000 +0100
+++ kdenlive-0.2.4.sav/kdenlive/kaddmarkercommand.cpp	2004-10-13 14:50:33.841122249 +0200
@@ -108,4 +108,4 @@
 	}
 }
 
-};
+}
diff -ru kdenlive-0.2.4/kdenlive/kaddmarkercommand.h kdenlive-0.2.4.sav/kdenlive/kaddmarkercommand.h
--- kdenlive-0.2.4/kdenlive/kaddmarkercommand.h	2003-12-17 01:15:02.000000000 +0100
+++ kdenlive-0.2.4.sav/kdenlive/kaddmarkercommand.h	2004-10-13 14:47:35.352093152 +0200
@@ -64,6 +64,6 @@
 	void deleteMarker();
 };
 
-};
+}
 
 #endif
diff -ru kdenlive-0.2.4/kdenlive/kdenlivedoc.cpp kdenlive-0.2.4.sav/kdenlive/kdenlivedoc.cpp
--- kdenlive-0.2.4/kdenlive/kdenlivedoc.cpp	2003-12-20 19:33:48.000000000 +0100
+++ kdenlive-0.2.4.sav/kdenlive/kdenlivedoc.cpp	2004-10-13 14:48:05.338394017 +0200
@@ -290,7 +290,7 @@
 	}
 
 	return pResult;
-};
+}
 
 void KdenliveDoc::activeSceneListGeneration(bool active)
 {
diff -ru kdenlive-0.2.4/kdenlive/krender.h kdenlive-0.2.4.sav/kdenlive/krender.h
--- kdenlive-0.2.4/kdenlive/krender.h	2003-12-17 01:14:33.000000000 +0100
+++ kdenlive-0.2.4.sav/kdenlive/krender.h	2004-10-13 14:43:46.950885761 +0200
@@ -117,7 +117,7 @@
   void setSceneList(QDomDocument list);
   /** Wraps the VEML command of the same name - sends a <ping> command to the server, which
 should reply with a <pong> - let's us determine the round-trip latency of the connection. */
-  void ping(QString &ID);;
+  void ping(QString &ID);
   /** Wraps the VEML command of the same name. Tells the renderer to
 play the current scene at the speed specified, relative to normal
 playback. e.g. 1.0 is normal speed, 0.0 is paused, -1.0 means play

-- 
	"Probably the best operating system in the world is the
	[operating system] made for the PDP-11 by Bell Laboratories."
					- Ted Nelson, October 1977




More information about the Kdenlive mailing list