You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/vdk/files/vdk-2.4.1-gcc43.patch

34 lines
1.0 KiB

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>