diff --git a/package/kde/kdeartwork/hotfixes-gcc43.patch b/package/kde/kdeartwork/hotfixes-gcc43.patch new file mode 100644 index 000000000..c49d2db02 --- /dev/null +++ b/package/kde/kdeartwork/hotfixes-gcc43.patch @@ -0,0 +1,10 @@ +--- ./kscreensaver/kdesavers/firesaver.cpp.orig 2008-06-12 15:34:30.000000000 +0200 ++++ ./kscreensaver/kdesavers/firesaver.cpp 2008-06-12 15:34:36.000000000 +0200 +@@ -19,6 +19,7 @@ + // Email: asy@libero.it + + #include ++#include + #include + #include + #include diff --git a/package/kde/kdegraphics/hotfixes-gcc43.patch b/package/kde/kdegraphics/hotfixes-gcc43.patch new file mode 100644 index 000000000..799e36325 --- /dev/null +++ b/package/kde/kdegraphics/hotfixes-gcc43.patch @@ -0,0 +1,11 @@ +--- ./kviewshell/plugins/djvu/libdjvu/DjVuGlobal.h.orig 2008-06-13 08:56:55.000000000 +0200 ++++ ./kviewshell/plugins/djvu/libdjvu/DjVuGlobal.h 2008-06-13 08:57:02.000000000 +0200 +@@ -70,7 +70,7 @@ + #elif defined(AUTOCONF) && defined(HAVE_STDINCLUDES) + # include + #else +-# include ++# include + #endif + + #ifdef WIN32 diff --git a/package/kde/kdemultimedia/hotfixes-gcc43.patch b/package/kde/kdemultimedia/hotfixes-gcc43.patch new file mode 100644 index 000000000..f97148a67 --- /dev/null +++ b/package/kde/kdemultimedia/hotfixes-gcc43.patch @@ -0,0 +1,123 @@ +--- ./arts/builder/structure.cpp.orig 2008-06-13 11:24:39.000000000 +0200 ++++ ./arts/builder/structure.cpp 2008-06-13 11:24:46.000000000 +0200 +@@ -23,6 +23,7 @@ + #include "soundserver.h" + #include "kartsserver.h" + #include ++#include + #include + #include + #include +--- ./arts/modules/effects/synth_stereo_fir_equalizer_impl.cc.orig 2008-06-13 09:26:09.000000000 +0200 ++++ ./arts/modules/effects/synth_stereo_fir_equalizer_impl.cc 2008-06-13 09:26:16.000000000 +0200 +@@ -29,6 +29,7 @@ + #include "artsmoduleseffects.h" + + #include ++#include + + #include + #include +--- ./arts/modules/synth/synth_capture_wav_impl.cc.orig 2008-06-13 08:58:12.000000000 +0200 ++++ ./arts/modules/synth/synth_capture_wav_impl.cc 2008-06-13 08:58:20.000000000 +0200 +@@ -25,6 +25,8 @@ + #include "stdsynthmodule.h" + #include "debug.h" + #include ++#include ++#include + + using namespace std; + namespace Arts { +--- ./arts/modules/synth/synth_midi_test_impl.cc.orig 2008-06-13 08:58:53.000000000 +0200 ++++ ./arts/modules/synth/synth_midi_test_impl.cc 2008-06-13 08:59:00.000000000 +0200 +@@ -9,6 +9,7 @@ + #include "audiosubsys.h" + #include + #include ++#include + + using namespace Arts; + using namespace std; +--- ./arts/modules/synth/synth_noise_impl.cc.orig 2008-06-13 08:55:08.000000000 +0200 ++++ ./arts/modules/synth/synth_noise_impl.cc 2008-06-13 08:55:15.000000000 +0200 +@@ -23,6 +23,8 @@ + #include "artsmodulessynth.h" + #include "stdsynthmodule.h" + ++#include ++ + using namespace Arts; + + namespace Arts { +--- ./arts/modules/synth/synth_osc_impl.cc.orig 2008-06-13 08:56:25.000000000 +0200 ++++ ./arts/modules/synth/synth_osc_impl.cc 2008-06-13 08:56:31.000000000 +0200 +@@ -27,6 +27,7 @@ + #include + + #include ++#include + + using namespace Arts; + +--- ./arts/modules/synth/synth_play_pat_impl.cc.orig 2008-06-13 08:57:29.000000000 +0200 ++++ ./arts/modules/synth/synth_play_pat_impl.cc 2008-06-13 08:57:40.000000000 +0200 +@@ -24,6 +24,8 @@ + #include + #include + #include ++#include ++#include + #include + #include + #include +--- ./arts/modules/synth/synth_sequence_freq_impl.cc.orig 2008-06-13 09:04:38.000000000 +0200 ++++ ./arts/modules/synth/synth_sequence_freq_impl.cc 2008-06-13 09:04:52.000000000 +0200 +@@ -18,6 +18,7 @@ + */ + + #include ++#include + #include "artsmodulessynth.h" + #include "stdsynthmodule.h" + #include +--- ./arts/modules/synth/synth_sequence_impl.cc.orig 2008-06-13 09:00:54.000000000 +0200 ++++ ./arts/modules/synth/synth_sequence_impl.cc 2008-06-13 09:01:03.000000000 +0200 +@@ -26,6 +26,8 @@ + */ + + #include ++#include ++#include + #include "artsmodulessynth.h" + #include "stdsynthmodule.h" + +--- ./arts/runtime/artsbuilderloader_impl.cc.orig 2008-06-13 08:25:32.000000000 +0200 ++++ ./arts/runtime/artsbuilderloader_impl.cc 2008-06-13 08:25:39.000000000 +0200 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- ./mpeglib/example/yaf/yafvorbis/vorbis_control.cpp.orig 2008-06-13 18:34:16.000000000 +0200 ++++ ./mpeglib/example/yaf/yafvorbis/vorbis_control.cpp 2008-06-13 18:34:29.000000000 +0200 +@@ -19,7 +19,7 @@ + + + +-#include ++#include + #include + #include + #include +@@ -33,6 +33,7 @@ + #include + #endif + ++using namespace std; + + + diff --git a/package/kde/kdirstat/hotfixes-gcc43.patch b/package/kde/kdirstat/hotfixes-gcc43.patch new file mode 100644 index 000000000..b7721d6c3 --- /dev/null +++ b/package/kde/kdirstat/hotfixes-gcc43.patch @@ -0,0 +1,10 @@ +--- ./kdirstat/kdirtreecache.cpp.orig 2008-06-12 15:29:58.000000000 +0200 ++++ ./kdirstat/kdirtreecache.cpp 2008-06-12 15:30:05.000000000 +0200 +@@ -10,6 +10,7 @@ + + #include + #include ++#include + #include + #include "kdirtreecache.h" + #include "kdirtree.h" diff --git a/package/kde/koffice/hotfixes-gcc43.patch b/package/kde/koffice/hotfixes-gcc43.patch new file mode 100644 index 000000000..ea9a9034a --- /dev/null +++ b/package/kde/koffice/hotfixes-gcc43.patch @@ -0,0 +1,43 @@ +--- ./krita/core/kis_perspective_math.cpp.orig 2008-06-13 09:30:26.000000000 +0200 ++++ ./krita/core/kis_perspective_math.cpp 2008-06-13 11:22:38.000000000 +0200 +@@ -24,13 +24,15 @@ + + #if 1 + +-#include ++#include + #include + #include + //#define NDEBUG // uncomment to remove checking of assert() + #include + #define DEFAULT_ALLOC 2 + ++using namespace std; ++ + namespace math { // TODO: use eigen + + template class matrix; +--- ./kspread/plugins/scripting/kspreadcore/krs_cell.cpp.orig 2008-06-14 01:52:57.000000000 +0200 ++++ ./kspread/plugins/scripting/kspreadcore/krs_cell.cpp 2008-06-14 01:58:12.000000000 +0200 +@@ -174,7 +174,9 @@ + return m_cell->text(); + } + +-bool Cell::setText(const QString& text, bool asString) { ++bool Cell::setText(const QString& text) { ++ ++ bool asString = false; + + //FIXME: there is some problem with asString parameter, when it's set + //to true KSpread says: ASSERT: "f" in Dependencies.cpp (621) +--- ./kspread/plugins/scripting/kspreadcore/krs_cell.h.orig 2008-06-14 01:58:23.000000000 +0200 ++++ ./kspread/plugins/scripting/kspreadcore/krs_cell.h 2008-06-14 01:58:34.000000000 +0200 +@@ -135,7 +135,7 @@ + * will be handled as string else we try to parse the + * string to the expected value. + */ +- bool setText(const QString& text, bool asString = false); ++ bool setText(const QString& text); + + /** + * Return the textcolor as RGB-value in the format "#RRGGBB".