summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/applications/klamav/klamav-0.46-gcc43.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mandriva/2010.2/applications/klamav/klamav-0.46-gcc43.patch')
-rw-r--r--mandriva/2010.2/applications/klamav/klamav-0.46-gcc43.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/mandriva/2010.2/applications/klamav/klamav-0.46-gcc43.patch b/mandriva/2010.2/applications/klamav/klamav-0.46-gcc43.patch
new file mode 100644
index 000000000..c81edd2eb
--- /dev/null
+++ b/mandriva/2010.2/applications/klamav/klamav-0.46-gcc43.patch
@@ -0,0 +1,33 @@
+diff -p -up klamav-0.46/src/ctcron.cpp.gcc43 klamav-0.46/src/ctcron.cpp
+--- klamav-0.46/src/ctcron.cpp.gcc43 2009-02-28 11:27:27.000000000 +0100
++++ klamav-0.46/src/ctcron.cpp 2009-03-14 16:57:40.000000000 +0100
+@@ -18,6 +18,7 @@
+ #include "ctvariable.h"
+ #include <pwd.h> // pwd, getpwnam(), getpwuid()
+ #include <assert.h>
++#include <stdlib.h> // system
+
+ #include <qfile.h>
+
+diff -p -up klamav-0.46/src/ctunit.cpp.gcc43 klamav-0.46/src/ctunit.cpp
+--- klamav-0.46/src/ctunit.cpp.gcc43 2009-02-28 11:27:27.000000000 +0100
++++ klamav-0.46/src/ctunit.cpp 2009-03-14 16:57:40.000000000 +0100
+@@ -18,6 +18,7 @@
+ #include <stdlib.h> // sprintf
+ #include <stdio.h> // sprintf
+ #include <ctype.h> // tolower
++#include <stdlib.h> // atoi
+
+ using namespace std;
+
+diff -p -up klamav-0.46/src/ktview.cpp.gcc43 klamav-0.46/src/ktview.cpp
+--- klamav-0.46/src/ktview.cpp.gcc43 2009-02-28 11:27:27.000000000 +0100
++++ klamav-0.46/src/ktview.cpp 2009-03-14 16:57:40.000000000 +0100
+@@ -20,6 +20,7 @@
+ // #include <strstream.h>
+ // #endif
+
++#include <stdlib.h> // system
+
+ #include <qfileinfo.h>
+