[Evolution-hackers] compile bug ..



I don't know what compile flags or compilers you guys are using to compile
current cvs, or even 1.5.90, but this change broke my ability to build
evolution on OpenBSD.

blue$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.5/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease, propolice)
blue$

Here's the diff to fix.. quite trivial:

Index: e-contact-list-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-list-editor/e-contact-list-editor.c,v
retrieving revision 1.60
diff -u -r1.60 e-contact-list-editor.c
--- e-contact-list-editor.c	2 Jul 2004 18:32:18 -0000	1.60
+++ e-contact-list-editor.c	12 Jul 2004 16:16:59 -0000
@@ -666,11 +666,14 @@
 
 	EContactListEditor *ce;
 
+	GtkWidget *control_widget;
+	Bonobo_Control corba_control;
+
 	ce = E_CONTACT_LIST_EDITOR (data);
 
-	Bonobo_Control corba_control = GNOME_Evolution_Addressbook_SelectNames_getEntryBySection
+	corba_control = GNOME_Evolution_Addressbook_SelectNames_getEntryBySection
 			(ce->corba_select_names, "Members", ev);
-	GtkWidget *control_widget = bonobo_widget_new_control_from_objref (corba_control, CORBA_OBJECT_NIL);
+	control_widget = bonobo_widget_new_control_from_objref (corba_control, CORBA_OBJECT_NIL);
 
 	bonobo_widget_get_property (BONOBO_WIDGET (control_widget), "destinations",
 					    TC_CORBA_string, &string, NULL);
-- 
Todd Fries .. evolution email fries net

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \  1.700.227.9094 (IAXTEL)
|                                             \          250797 (FWD)
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt




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