summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/downman/files/downman-0.0.5-gcc-4.patch')
-rw-r--r--www-client/downman/files/downman-0.0.5-gcc-4.patch108
1 files changed, 108 insertions, 0 deletions
diff --git a/www-client/downman/files/downman-0.0.5-gcc-4.patch b/www-client/downman/files/downman-0.0.5-gcc-4.patch
new file mode 100644
index 000000000000..3085898558c2
--- /dev/null
+++ b/www-client/downman/files/downman-0.0.5-gcc-4.patch
@@ -0,0 +1,108 @@
+diff -ur downman-0.0.5.orig/clients/gnome/gdownman/gdownman.c downman-0.0.5/clients/gnome/gdownman/gdownman.c
+--- downman-0.0.5.orig/clients/gnome/gdownman/gdownman.c 2003-10-05 19:12:38.000000000 +0300
++++ downman-0.0.5/clients/gnome/gdownman/gdownman.c 2007-11-04 15:32:10.000000000 +0200
+@@ -781,6 +781,7 @@
+ break;
+
+ default:
++ ;
+ }
+
+ gtk_widget_destroy(dialog);
+diff -ur downman-0.0.5.orig/clients/gnome/gdownman/gtkcellrendererprogressbar.c downman-0.0.5/clients/gnome/gdownman/gtkcellrendererprogressbar.c
+--- downman-0.0.5.orig/clients/gnome/gdownman/gtkcellrendererprogressbar.c 2003-08-05 22:37:42.000000000 +0300
++++ downman-0.0.5/clients/gnome/gdownman/gtkcellrendererprogressbar.c 2007-11-04 15:32:20.000000000 +0200
+@@ -19,7 +19,7 @@
+ */
+
+ #include <stdlib.h>
+-#include "gtkcellrendererprogressbar.h"
++#include <gtk/gtkcellrendererprogress.h>
+
+ static void gtk_cell_renderer_progress_init (GtkCellRendererProgress *celltext);
+ static void gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *class);
+@@ -53,7 +53,7 @@
+ PROP_VALUE
+ };
+
+-struct _GtkCellRendererProgressPriv {
++struct _GtkCellRendererProgressPrivate {
+ double value;
+ };
+
+@@ -89,9 +89,9 @@
+ static void
+ gtk_cell_renderer_progress_init (GtkCellRendererProgress *cellprogress)
+ {
+- GtkCellRendererProgressPriv *priv;
++ GtkCellRendererProgressPrivate *priv;
+
+- cellprogress->priv = (GtkCellRendererProgressPriv*)g_new0(GtkCellRendererProgressPriv, 1);
++ cellprogress->priv = (GtkCellRendererProgressPrivate*)g_new0(GtkCellRendererProgressPrivate, 1);
+
+ cellprogress->priv->value = 0;
+ }
+diff -ur downman-0.0.5.orig/clients/gnome/gdownman/gtkcellrendererprogressbar.h downman-0.0.5/clients/gnome/gdownman/gtkcellrendererprogressbar.h
+--- downman-0.0.5.orig/clients/gnome/gdownman/gtkcellrendererprogressbar.h 2003-08-05 22:37:51.000000000 +0300
++++ downman-0.0.5/clients/gnome/gdownman/gtkcellrendererprogressbar.h 2007-11-04 15:32:20.000000000 +0200
+@@ -22,7 +22,9 @@
+ #define __CELL_RENDERER_H__
+
+ #include <gtk/gtkcellrenderer.h>
++#include <gtk/gtkcellrendererprogress.h>
+
++/*
+ G_BEGIN_DECLS
+
+ #define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_get_type ())
+@@ -45,5 +47,6 @@
+ GtkCellRenderer* gtk_cell_renderer_progress_new(void);
+
+ G_END_DECLS
++*/
+
+ #endif
+diff -ur downman-0.0.5.orig/clients/gnome/gdownman/new-project.c downman-0.0.5/clients/gnome/gdownman/new-project.c
+--- downman-0.0.5.orig/clients/gnome/gdownman/new-project.c 2003-10-05 19:07:29.000000000 +0300
++++ downman-0.0.5/clients/gnome/gdownman/new-project.c 2007-11-04 15:32:10.000000000 +0200
+@@ -201,6 +201,7 @@
+ break;
+
+ default:
++ ;
+ }
+
+ gtk_widget_destroy (GTK_WIDGET (dialog));
+diff -ur downman-0.0.5.orig/clients/gnome/gdownman/new-url.c downman-0.0.5/clients/gnome/gdownman/new-url.c
+--- downman-0.0.5.orig/clients/gnome/gdownman/new-url.c 2003-07-23 21:59:02.000000000 +0300
++++ downman-0.0.5/clients/gnome/gdownman/new-url.c 2007-11-04 15:32:10.000000000 +0200
+@@ -227,6 +227,7 @@
+ break;
+
+ default:
++ ;
+ }
+
+ gtk_widget_destroy (GTK_WIDGET (dialog));
+diff -ur downman-0.0.5.orig/clients/gnome/gdownman/project.c downman-0.0.5/clients/gnome/gdownman/project.c
+--- downman-0.0.5.orig/clients/gnome/gdownman/project.c 2003-09-27 18:45:47.000000000 +0300
++++ downman-0.0.5/clients/gnome/gdownman/project.c 2007-11-04 15:32:20.000000000 +0200
+@@ -5,7 +5,6 @@
+ #include <utillib.h>
+
+ #include "gdownman-marshal.h"
+-#include "gtkcellrendererprogressbar.h"
+
+ #include "project-settings.h"
+ #include "project.h"
+diff -ur downman-0.0.5.orig/clients/gnome/monitor/dmgmonitor.c downman-0.0.5/clients/gnome/monitor/dmgmonitor.c
+--- downman-0.0.5.orig/clients/gnome/monitor/dmgmonitor.c 2003-10-05 19:01:15.000000000 +0300
++++ downman-0.0.5/clients/gnome/monitor/dmgmonitor.c 2007-11-04 15:32:10.000000000 +0200
+@@ -277,6 +277,7 @@
+ break;
+
+ default:
++ ;
+ }
+
+ gtk_widget_destroy(dialog);