@ -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 <math.h> |
|||
+#include <stdlib.h>
|
|||
#include <sys/time.h> |
|||
#include <kconfig.h> |
|||
#include <kdebug.h> |
|||
@ -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 <new> |
|||
#else |
|||
-# include <new.h>
|
|||
+# include <new>
|
|||
#endif |
|||
|
|||
#ifdef WIN32 |
|||
@ -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 <stdio.h> |
|||
+#include <stdlib.h>
|
|||
#include <iostream> |
|||
#include <fstream> |
|||
#include <kdebug.h> |
|||
--- ./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 <stdio.h> |
|||
+#include <stdlib.h>
|
|||
|
|||
#include <kglobal.h> |
|||
#include <klocale.h> |
|||
--- ./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 <fcntl.h> |
|||
+#include <string.h>
|
|||
+#include <stdlib.h>
|
|||
|
|||
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 <fstream> |
|||
#include <math.h> |
|||
+#include <stdlib.h>
|
|||
|
|||
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 <stdlib.h>
|
|||
+
|
|||
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 <gsl/gslsignal.h> |
|||
|
|||
#include <math.h> |
|||
+#include <string.h>
|
|||
|
|||
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 <sys/stat.h> |
|||
#include <stdsynthmodule.h> |
|||
#include <unistd.h> |
|||
+#include <string.h>
|
|||
+#include <stdlib.h>
|
|||
#include <math.h> |
|||
#include <debug.h> |
|||
#include <cache.h> |
|||
--- ./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 <stdio.h> |
|||
+#include <stdlib.h>
|
|||
#include "artsmodulessynth.h" |
|||
#include "stdsynthmodule.h" |
|||
#include <debug.h> |
|||
--- ./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 <stdio.h> |
|||
+#include <stdlib.h>
|
|||
+#include <string.h>
|
|||
#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 <sys/types.h> |
|||
#include <sys/stat.h> |
|||
#include <stdio.h> |
|||
+#include <stdlib.h>
|
|||
#include <unistd.h> |
|||
#include <dirent.h> |
|||
#include <set> |
|||
--- ./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 <iostream.h>
|
|||
+#include <iostream>
|
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
#include <math.h> |
|||
@@ -33,6 +33,7 @@
|
|||
#include <getopt.h> |
|||
#endif |
|||
|
|||
+using namespace std;
|
|||
|
|||
|
|||
|
|||
@ -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 <ctype.h> |
|||
#include <errno.h> |
|||
+#include <stdlib.h>
|
|||
#include <kdebug.h> |
|||
#include "kdirtreecache.h" |
|||
#include "kdirtree.h" |
|||
@ -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 <iostream.h>
|
|||
+#include <iostream>
|
|||
#include <stdlib.h> |
|||
#include <math.h> |
|||
//#define NDEBUG // uncomment to remove checking of assert() |
|||
#include <assert.h> |
|||
#define DEFAULT_ALLOC 2 |
|||
|
|||
+using namespace std;
|
|||
+
|
|||
namespace math { // TODO: use eigen |
|||
|
|||
template <class ElType> 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". |
|||