Re: Compilation problem

Petr Mladek <[email protected]>
Newsgroups gmane.comp.gnome.ximian.openoffice
Message-ID <[email protected]>
On Monday 12 April 2010, Ercole Carpanetto wrote:
> Here enclosed you can find the log of the error.

Google pointed me to http://bugs.gentoo.org/show_bug.cgi?id=306181 that 
already provided a fix. There was a missing #ifdef ENABLE_GTK.

You might apply try attached diff. If you do clean build, you might put it 
into the ooo-build/patches/hotfixes dir.

I have reported the problem upstream and committed the fix into ooo-build, see
http://cgit.freedesktop.org/ooo-build/ooo-build/commit/?id=b87ca979633b8448d204a32834b2bce608afb6f7

-- 
Best Regards,

Petr Mladek
software developer
---------------------------------------------------------------------  
SUSE LINUX, s. r. o.                        e-mail: [email protected]
Lihovarská 1060/12                          tel: +420 284 028 952
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz/
buildfix-extensions-npwrap-no-gtk.diff (text/x-diff, 382 B)
--- extensions/source/plugin/unx/npwrap.cxx	2010-02-22 02:31:31.000000000 +0300
+++ extensions/source/plugin/unx/npwrap.cxx	2010-02-22 02:32:04.000000000 +0300
@@ -485,7 +485,9 @@
 
     medDebug( 1, "left plugin app main loop\n" );
 
+    #ifdef ENABLE_GTK
     g_source_remove(xt_polling_timer_id);
+    #endif
     
     pNP_Shutdown();
     medDebug( 1, "NP_Shutdown done\n" );
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.