summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-12-20 23:46:13 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-12-20 23:46:13 +0000
commit5daa3d124cda88e166fc09d77dc0419c4f918167 (patch)
treed2d0288be618cf9a4a6453530517e3bed737f721 /dev-libs/vdk/files
parentopenvas-libraries bump (diff)
downloadgentoo-2-5daa3d124cda88e166fc09d77dc0419c4f918167.tar.gz
gentoo-2-5daa3d124cda88e166fc09d77dc0419c4f918167.tar.bz2
gentoo-2-5daa3d124cda88e166fc09d77dc0419c4f918167.zip
Fix bug 250845, gcc-4.3 compilation.
(Portage version: 2.2_rc17/cvs/Linux 2.6.28-rc6 x86_64)
Diffstat (limited to 'dev-libs/vdk/files')
-rw-r--r--dev-libs/vdk/files/vdk-2.4.1-gcc43.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/vdk/files/vdk-2.4.1-gcc43.patch b/dev-libs/vdk/files/vdk-2.4.1-gcc43.patch
new file mode 100644
index 000000000000..f0fe758050c7
--- /dev/null
+++ b/dev-libs/vdk/files/vdk-2.4.1-gcc43.patch
@@ -0,0 +1,33 @@
+diff -Nurpa vdk-2.4.1.orig/vdk/entry.cc vdk-2.4.1/vdk/entry.cc
+--- vdk-2.4.1.orig/vdk/entry.cc 2008-12-15 05:16:06.000000000 +0300
++++ vdk-2.4.1/vdk/entry.cc 2008-12-15 05:16:33.000000000 +0300
+@@ -30,6 +30,7 @@
+ #include "vdk/forms.h"
+ #include "vdk/colors.h"
+ #include <string>
++#include <cstring>
+ static void
+ EntryChanged(GtkWidget* wid, gpointer gp)
+ {
+diff -Nurpa vdk-2.4.1.orig/vdk/image.cc vdk-2.4.1/vdk/image.cc
+--- vdk-2.4.1.orig/vdk/image.cc 2008-12-15 05:16:06.000000000 +0300
++++ vdk-2.4.1/vdk/image.cc 2008-12-15 05:17:41.000000000 +0300
+@@ -32,6 +32,7 @@
+ #include <vdk/tooltips.h>
+ #include <cstdio>
+ #include <string>
++#include <cstring>
+ #include <unistd.h>
+ #include <vdk/rawpixbuf.h>
+
+diff -Nurpa vdk-2.4.1.orig/vdk/vdkdate.cc vdk-2.4.1/vdk/vdkdate.cc
+--- vdk-2.4.1.orig/vdk/vdkdate.cc 2008-12-15 05:16:06.000000000 +0300
++++ vdk-2.4.1/vdk/vdkdate.cc 2008-12-15 05:20:52.000000000 +0300
+@@ -28,6 +28,7 @@
+
+ #include "vdk/vdkdate.h"
+ #include <string>
++#include <cstring>
+ #include <cstdlib>
+ #include <cstdio>
+ #include <time.h>