GCC 2.95 patches for Garnome 0.27.1 -- "undeclared" errors (was Re: Failure on compile)
- From: Danilo Segan <dsegan gmx net>
- To: Bill Richardson <wrichardson austin rr com>
- Cc: garnome-list gnome org
- Subject: GCC 2.95 patches for Garnome 0.27.1 -- "undeclared" errors (was Re: Failure on compile)
- Date: Wed, 15 Oct 2003 17:29:51 +0200
These are the patches I've submitted to this list on September 18th and
19th.
You'll probably need all of them for meta/gnome-desktop, and probably a
few others for other stuff (I have some patches, but I didn't compile
everything in Garnome, so you'd be on your own).
I've also had a problem because of prehistoric readline library in
libgda, so watch out for that too.
Cheers,
Danilo
--- libcroco-0.3.0/src/seleng/cr-sel-eng.c~ Sun Jun 29 17:49:40 2003
+++ libcroco-0.3.0/src/seleng/cr-sel-eng.c Thu Sep 18 21:42:59 2003
@@ -130,14 +130,14 @@
id_add_sel_matches_node (CRAdditionalSel *a_add_sel,
xmlNode *a_node)
{
+ xmlChar *id = NULL ;
+ gboolean result = FALSE ;
g_return_val_if_fail (a_add_sel
&& a_add_sel->type == ID_ADD_SELECTOR
&& a_add_sel->content.id_name
&& a_add_sel->content.id_name->str
&& a_node, FALSE) ;
- gboolean result = FALSE ;
- xmlChar *id = NULL ;
g_return_val_if_fail (a_add_sel
&& a_add_sel->type == ID_ADD_SELECTOR
@@ -786,10 +786,10 @@
for (cur_decl = a_stmt->kind.ruleset->decl_list ;
cur_decl ; cur_decl = cur_decl->next)
{
+ CRDeclaration *decl = NULL ;
+
if (!cur_decl->property || !cur_decl->property->str)
continue ;
-
- CRDeclaration *decl = NULL ;
/*
*First, test if the property is not
--- libcroco-0.3.0/src/layeng/cr-lay-eng.c~ Sat Jul 5 23:08:56 2003
+++ libcroco-0.3.0/src/layeng/cr-lay-eng.c Thu Sep 18 21:45:39 2003
@@ -1214,11 +1214,12 @@
CRBox *a_cur_box)
{
enum CRStatus status = CR_OK ;
+ CRBox *cont_box = NULL;
g_return_val_if_fail (a_cur_box && a_cur_box->style,
CR_BAD_PARAM_ERROR) ;
- CRBox *cont_box = a_cur_box->parent ;
+ cont_box = a_cur_box->parent ;
/************************************
*We are in a block formating context
--- nautilus-media-0.3.3.1/media-info/media-info.c~ Tue Aug 12 16:04:06 2003
+++ nautilus-media-0.3.3.1/media-info/media-info.c Fri Sep 19 01:48:14 2003
@@ -258,10 +258,12 @@
gboolean
gst_media_info_read_idler (GstMediaInfo *info, GstMediaInfoStream **streamp)
{
+ GstMediaInfoPriv *priv = NULL;
+
/* if it's NULL then we're sure something went wrong higher up) */
if (info == NULL) return FALSE;
- GstMediaInfoPriv *priv = info->priv;
+ priv = info->priv;
g_assert (streamp != NULL);
switch (priv->state)
--- gnome-speech-0.2.7/drivers/viavoice/viavoicesynthesisdriver.c~ Thu Aug 14 06:59:36 2003
+++ gnome-speech-0.2.7/drivers/viavoice/viavoicesynthesisdriver.c Fri Sep 19 01:51:34 2003
@@ -54,8 +54,8 @@
static void
index_queue_entry_destroy (index_queue_entry *e)
{
- g_return_if_fail (e);
CORBA_Environment ev;
+ g_return_if_fail (e);
CORBA_exception_init (&ev);
CORBA_Object_release (e->cb, &ev);
CORBA_exception_free (&ev);
--- redhat-artwork-0.73/art/cursor/cursorthemegen/main.c~ Mon Feb 24 06:06:20 2003
+++ redhat-artwork-0.73/art/cursor/cursorthemegen/main.c Sat Sep 20 12:17:03 2003
@@ -236,11 +236,11 @@
{
CursorImage *image = cursor_source_find_image (source, frame_index);
int x, y, width, height;
-
+ GdkPixbuf *tmp_pixbuf = NULL;
cursor_frame_find_bounds (cursor, frame, source, frame_index,
&x, &y, &width, &height);
- GdkPixbuf *tmp_pixbuf = gdk_pixbuf_new_subpixbuf (image->image,
+ tmp_pixbuf = gdk_pixbuf_new_subpixbuf (image->image,
x, y, width, height);
frame->hot_x -= x - cursor->column * source->gridsize;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]