@ -0,0 +1,31 @@ |
|||
|
|||
The usual gcc-3.4 compile fixes. |
|||
|
|||
- Rene Rebe <rene@rocklinux.org> |
|||
|
|||
--- galan-0.2.14/src/event.c.orig 2004-05-13 20:36:28.045674776 +0200
|
|||
+++ galan-0.2.14/src/event.c 2004-05-13 20:37:54.848478744 +0200
|
|||
@@ -55,6 +55,7 @@
|
|||
memcpy( dst->d.array.numbers, src->d.array.numbers, src->d.array.len * sizeof(gdouble) ); |
|||
break; |
|||
default: |
|||
+ ;
|
|||
} |
|||
} |
|||
|
|||
@@ -73,6 +74,7 @@
|
|||
free( e->d.array.numbers ); |
|||
break; |
|||
default: |
|||
+ ;
|
|||
} |
|||
free( e ); |
|||
} |
|||
@@ -91,6 +93,7 @@
|
|||
free( evq->e.d.array.numbers ); |
|||
break; |
|||
default: |
|||
+ ;
|
|||
} |
|||
free( evq ); |
|||
} |
@ -0,0 +1,81 @@ |
|||
|
|||
The usual gcc-3.4 compile fixes. |
|||
|
|||
- Rene Rebe <rene@rocklinux.org> |
|||
|
|||
--- ./src/demo.c.orig 2004-05-13 20:57:44.936557856 +0200
|
|||
+++ ./src/demo.c 2004-05-13 20:57:51.225601776 +0200
|
|||
@@ -451,6 +451,7 @@
|
|||
compass_pos = GUPPI_NORTH; |
|||
break; |
|||
default: |
|||
+ ;
|
|||
} |
|||
|
|||
guppi_element_state_set (state, |
|||
--- ./src/libguppiplot/guppi-layout-constraint.c.orig 2004-05-13 20:52:41.636666448 +0200
|
|||
+++ ./src/libguppiplot/guppi-layout-constraint.c 2004-05-13 20:52:51.744129880 +0200
|
|||
@@ -165,6 +165,7 @@
|
|||
|
|||
default: |
|||
/* Fall through, do nothing. */ |
|||
+ ;
|
|||
} |
|||
|
|||
ti = term_info_new (type, factor, geom); |
|||
--- ./src/libguppiplot/guppi-root-group-item.c.orig 2004-05-13 20:54:49.332253768 +0200
|
|||
+++ ./src/libguppiplot/guppi-root-group-item.c 2004-05-13 20:55:03.409113760 +0200
|
|||
@@ -548,6 +548,7 @@
|
|||
return motion_notify_event (root, &(ev->motion)); |
|||
|
|||
default: |
|||
+ ;
|
|||
} |
|||
|
|||
return FALSE; |
|||
@@ -777,6 +778,7 @@
|
|||
case ROOT_GROUP_RESIZE_NONE: |
|||
default: |
|||
/* insure we do nothing */ |
|||
+ ;
|
|||
} |
|||
|
|||
if (please_resize_canvas) |
|||
--- ./src/libguppiplot/guppi-text-block.c.orig 2004-05-13 20:51:20.957931480 +0200
|
|||
+++ ./src/libguppiplot/guppi-text-block.c 2004-05-13 20:51:38.896204448 +0200
|
|||
@@ -900,6 +900,7 @@
|
|||
|
|||
default: |
|||
/* Do nothing. */ |
|||
+ ;
|
|||
} |
|||
|
|||
render_stack_evolve (stack, tt); |
|||
--- ./src/libguppiplot/guppi-view-interval.c.orig 2004-05-13 20:49:49.691806040 +0200
|
|||
+++ ./src/libguppiplot/guppi-view-interval.c 2004-05-13 20:50:09.553786560 +0200
|
|||
@@ -227,6 +227,7 @@
|
|||
#endif |
|||
|
|||
default: |
|||
+ ;
|
|||
} |
|||
|
|||
return TRUE; |
|||
--- ./libguppitank/guppi-object-barchart.c.orig 2004-05-13 21:07:35.963708072 +0200
|
|||
+++ ./libguppitank/guppi-object-barchart.c 2004-05-13 21:07:48.188849568 +0200
|
|||
@@ -701,6 +701,7 @@
|
|||
break; |
|||
|
|||
default: |
|||
+ ;
|
|||
} |
|||
} |
|||
|
|||
@@ -733,6 +734,7 @@
|
|||
break; |
|||
|
|||
default: |
|||
+ ;
|
|||
} |
|||
} |
|||
|
@ -0,0 +1,114 @@ |
|||
|
|||
The usual gcc-3.4 compile fixes - including deleteing goto's ,-) |
|||
|
|||
- Rene Rebe <rene@rocklinux.org> |
|||
|
|||
--- gnome-pilot-2.0.10/capplet/gnome-pilot-pdialog.c.orig 2004-05-13 20:42:05.535368544 +0200
|
|||
+++ gnome-pilot-2.0.10/capplet/gnome-pilot-pdialog.c 2004-05-13 20:42:31.767380672 +0200
|
|||
@@ -135,15 +135,13 @@
|
|||
priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", "PilotSettings", NULL); |
|||
if (!priv->xml) { |
|||
g_message ("gnome-pilot-pdialog init(): Could not load the Glade XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
|
|||
if (!get_widgets (gppd)) { |
|||
g_message ("gnome-pilot-pdialog init(): Could not find all widgets in the XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
-
|
|||
- error:
|
|||
} |
|||
|
|||
|
|||
--- gnome-pilot-2.0.10/capplet/gnome-pilot-capplet.c.orig 2004-05-13 20:40:51.301653784 +0200
|
|||
+++ gnome-pilot-2.0.10/capplet/gnome-pilot-capplet.c 2004-05-13 20:41:29.590832944 +0200
|
|||
@@ -171,18 +171,16 @@
|
|||
priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", "CappletMain", NULL); |
|||
if (!priv->xml) { |
|||
g_message ("gnome-pilot-capplet init(): Could not load the Glade XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
|
|||
if (!get_widgets (gpcap)) { |
|||
g_message ("gnome-pilot-capplet init(): Could not find all widgets in the XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
|
|||
fill_widgets (gpcap); |
|||
init_widgets (gpcap); |
|||
-
|
|||
- error:
|
|||
} |
|||
|
|||
GnomePilotCapplet * |
|||
--- gnome-pilot-2.0.10/capplet/gnome-pilot-ddialog.c.orig 2004-05-13 20:43:06.454107488 +0200
|
|||
+++ gnome-pilot-2.0.10/capplet/gnome-pilot-ddialog.c 2004-05-13 20:43:43.189522856 +0200
|
|||
@@ -114,15 +114,13 @@
|
|||
priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", "DeviceSettings", NULL); |
|||
if (!priv->xml) { |
|||
g_message ("gnome-pilot-ddialog init(): Could not load the Glade XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
|
|||
if (!get_widgets (gpdd)) { |
|||
g_message ("gnome-pilot-ddialog init(): Could not find all widgets in the XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
-
|
|||
- error:
|
|||
} |
|||
|
|||
|
|||
--- gnome-pilot-2.0.10/capplet/gnome-pilot-druid.c.orig 2004-05-13 20:47:56.979940848 +0200
|
|||
+++ gnome-pilot-2.0.10/capplet/gnome-pilot-druid.c 2004-05-13 20:48:22.909998880 +0200
|
|||
@@ -168,19 +168,17 @@
|
|||
priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", NULL, NULL); |
|||
if (!priv->xml) { |
|||
g_message ("gnome-pilot-druid init(): Could not load the Glade XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
|
|||
if (!get_widgets (gpd)) { |
|||
g_message ("gnome-pilot-druid init(): Could not find all widgets in the XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
|
|||
map_widgets (gpd); |
|||
fill_widgets (gpd); |
|||
init_widgets (gpd); |
|||
-
|
|||
- error:
|
|||
} |
|||
|
|||
|
|||
--- ./capplet/gnome-pilot-cdialog.c.orig 2004-05-13 21:18:57.751060640 +0200
|
|||
+++ ./capplet/gnome-pilot-cdialog.c 2004-05-13 21:19:22.850244984 +0200
|
|||
@@ -112,17 +112,15 @@
|
|||
priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", "ConduitSettings", NULL); |
|||
if (!priv->xml) { |
|||
g_message ("gnome-pilot-cdialog init(): Could not load the Glade XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
|
|||
if (!get_widgets (gpcd)) { |
|||
g_message ("gnome-pilot-cdialog init(): Could not find all widgets in the XML file!"); |
|||
- goto error;
|
|||
+ return;
|
|||
} |
|||
|
|||
gnome_dialog_close_hides (GNOME_DIALOG (priv->dialog), TRUE); |
|||
-
|
|||
- error:
|
|||
} |
|||
|
|||
|
@ -0,0 +1,15 @@ |
|||
|
|||
The usual gcc-3.4 compile fixes. |
|||
|
|||
- Rene Rebe <rene@rocklinux.org> |
|||
|
|||
--- ./src/file-utils.c.orig 2004-05-13 21:17:57.915157080 +0200
|
|||
+++ ./src/file-utils.c 2004-05-13 21:18:02.694430520 +0200
|
|||
@@ -137,6 +137,7 @@
|
|||
break; |
|||
|
|||
default: |
|||
+ ;
|
|||
} |
|||
|
|||
if (full_uri) |