File twinkle-gcc43.patch of Package twinkle

--- src/gui/qt_translator.h	2007-01-07 08:47:33.000000000 +0100
+++ src/gui/qt_translator.h	2007-11-01 07:27:34.000000000 +0100
@@ -20,7 +20,7 @@
 #define _QT_TRANSLATOR_H
 
 #include <qapplication.h>
-#include "translator.h";
+#include "translator.h"
 
 // This class provides the translation service from Qt to the
 // core of Twinkle.
--- src/sdp/sdp_parser.cxx	2007-01-07 20:02:47.000000000 +0100
+++ src/sdp/sdp_parser.cxx	2007-11-01 07:22:37.000000000 +0100
@@ -99,6 +99,7 @@
 
 #include <cstdio>
 #include <string>
+#include <stdlib.h>
 #include "sdp_parse_ctrl.h"
 #include "sdp.h"
 #include "util.h"
--- src/sdp/sdp_parser.yxx	2007-01-07 08:47:34.000000000 +0100
+++ src/sdp/sdp_parser.yxx	2007-11-01 07:22:08.000000000 +0100
@@ -23,6 +23,7 @@
 #include "sdp.h"
 #include "util.h"
 #include "audits/memman.h"
+#include <stdlib.h>
 
 using namespace std;
 
--- src/sockets/interfaces.cpp	2007-01-07 08:47:34.000000000 +0100
+++ src/sockets/interfaces.cpp	2007-11-01 07:23:13.000000000 +0100
@@ -18,6 +18,7 @@
 
 #include "interfaces.h"
 #include "url.h"
+#include <string.h>
 
 t_interface::t_interface(string _name) : name(_name) {}
 
--- src/parser/hdr_privacy.cpp.orig	2007-11-08 17:43:23.000000000 +0100
+++ src/parser/hdr_privacy.cpp	2007-11-08 17:43:31.000000000 +0100
@@ -18,6 +18,7 @@
 
 #include "definitions.h"
 #include "hdr_privacy.h"
+#include <algorithm>
 
 t_hdr_privacy::t_hdr_privacy() : t_header("Privacy") {};
 
--- src/parser/hdr_allow.cpp.orig	2007-11-08 17:42:49.000000000 +0100
+++ src/parser/hdr_allow.cpp	2007-11-08 17:43:04.000000000 +0100
@@ -18,6 +18,7 @@
 
 #include "definitions.h"
 #include "hdr_allow.h"
+#include <algorithm>
 
 t_hdr_allow::t_hdr_allow() : t_header("Allow") {}
 
--- src/sdp/sdp.cpp.orig	2007-11-08 17:43:47.000000000 +0100
+++ src/sdp/sdp.cpp	2007-11-08 17:43:55.000000000 +0100
@@ -18,6 +18,7 @@
 
 #include <assert.h>
 #include <cstdlib>
+#include <algorithm>
 #include <iostream>
 #include "protocol.h"
 #include "sdp_parse_ctrl.h"
--- src/parser/media_type.cpp
+++ src/parser/media_type.cpp
@@ -21,6 +21,7 @@
 
 #include "media_type.h"
 #include "util.h"
+#include <stdlib.h>
 #include "utils/mime_database.h"
 
 using namespace std;
--- src/sockets/url.h
+++ src/sockets/url.h
@@ -197,7 +197,7 @@
 	/**
 	 * Add a header to the URI.
 	 * The encoded header will be concatenated to the headers field.
-	 /* @param hdr [in] Header to be added.
+	 * @param hdr [in] Header to be added.
 	 */
 	void add_header(const t_header &hdr);
 	
openSUSE Build Service is sponsored by