Re: Patch for building libcroco-0.3.0 with GCC 2.95



As promised, here two more patches that should enable folks to compile GARNOME seemlessly on systems that use GCC 2.95.x (if they get the other stuff right :-).

The first is for gnome-speech 0.2.7, and the other is for nautilus- media 0.3.3.1 (I know that this one is already fixed in CVS, so it probably won't be needed if there come any newer tarballs of nautilus- media for next GARNOME).

Cheers,
Danilo
--- 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);
--- 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]