summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/vdk/files')
-rw-r--r--dev-libs/vdk/files/vdk-2.4.1-gcc4.patch28
-rw-r--r--dev-libs/vdk/files/vdk-2.4.1-gcc43.patch33
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/vdk/files/vdk-2.4.1-gcc4.patch b/dev-libs/vdk/files/vdk-2.4.1-gcc4.patch
new file mode 100644
index 000000000000..924248b75957
--- /dev/null
+++ b/dev-libs/vdk/files/vdk-2.4.1-gcc4.patch
@@ -0,0 +1,28 @@
+diff -Naur vdk-2.4.1/vdk/vdkcomboentry.h vdk-2.4.1-ok/vdk/vdkcomboentry.h
+--- vdk-2.4.1/vdk/vdkcomboentry.h 2004-09-10 08:14:48.000000000 +0200
++++ vdk-2.4.1-ok/vdk/vdkcomboentry.h 2006-05-30 11:39:18.000000000 +0200
+@@ -51,8 +51,8 @@
+ class VDKComboEntry: public VDKObject
+ {
+ protected:
+- static int VDKComboEntry::FocusOutEvent(GtkWidget *, GdkEventFocus*, gpointer wid);
+- static int VDKComboEntry::FocusInEvent(GtkWidget *, GdkEventFocus*, gpointer wid);
++ static int FocusOutEvent(GtkWidget *, GdkEventFocus*, gpointer wid);
++ static int FocusInEvent(GtkWidget *, GdkEventFocus*, gpointer wid);
+ VDKObjectSignal s_activated, s_changed, s_selected;
+ public:
+ /*!
+diff -Naur vdk-2.4.1/vdk/vdkfilechooser.h vdk-2.4.1-ok/vdk/vdkfilechooser.h
+--- vdk-2.4.1/vdk/vdkfilechooser.h 2004-09-10 08:15:10.000000000 +0200
++++ vdk-2.4.1-ok/vdk/vdkfilechooser.h 2006-05-30 11:39:04.000000000 +0200
+@@ -106,8 +106,8 @@
+ DECLARE_EVENT_LIST(VDKFileChooser);
+ // declares two static used to initialize
+ // form display type and initial position
+- static GtkWindowType VDKFileChooser::DisplayType;
+- static GtkWindowPosition VDKFileChooser::InitialPosition;
++ static GtkWindowType DisplayType;
++ static GtkWindowPosition InitialPosition;
+ //
+ /*!
+ * Add a filter based on a pattern
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>