Date: Thu, 11 Jun 2009 23:19:16 -0300 From: Sergio de Almeida Lenzi <lenzi.sergio@gmail.com> To: openoffice@FreeBSD.org Subject: Fix needed, patch attached Message-ID: <1244773156.15505.8.camel@localhost>
next in thread | raw e-mail | index | archive | help
--=-HSveprsbygMtYuNH7wRD Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello, I use Openoffice on FreeBSD for a long time, I am user of the portuguese Brazil language and as I tried to install an extension in my openoffice-3-devel, running on FreeBSD series 7.X it does not work. (in version 6.X is working). This turns almost unuseable the openoffice for languages not english. Searching in internet, there is a patch that fix this issue (both in i386 and amd64 versions). using this patch in the /usr/ports/editors/openoffice-3-devel/files it compiles and resolves the problem with extentions (dictionary....) In the attachment is the patch, please evaluate it, and if possible distribute in the next devel port. Thanks for your attention Sergio --=-HSveprsbygMtYuNH7wRD Content-Disposition: attachment; filename="patch-zzi22253-regressed090307" Content-Type: text/x-patch; name="patch-zzi22253-regressed090307"; charset="UTF-8" Content-Transfer-Encoding: 7bit --- bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx.orig 2009-03-04 17:07:31.000000000 -0500 +++ bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx 2009-03-07 08:02:46.000000000 -0500 @@ -121,11 +121,7 @@ }; //__________________________________________________________________________________________________ RTTI::RTTI() SAL_THROW( () ) -#if __FreeBSD_version < 602103 : m_hApp( dlopen( 0, RTLD_NOW | RTLD_GLOBAL ) ) -#else - : m_hApp( dlopen( 0, RTLD_LAZY ) ) -#endif { } //__________________________________________________________________________________________________ @@ -160,11 +156,7 @@ buf.append( 'E' ); OString symName( buf.makeStringAndClear() ); -#if __FreeBSD_version < 602103 /* #i22253# */ rtti = (type_info *)dlsym( RTLD_DEFAULT, symName.getStr() ); -#else - rtti = (type_info *)dlsym( m_hApp, symName.getStr() ); -#endif if (rtti) { --- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx.orig2 2009-03-07 07:55:23.000000000 -0500 +++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 2009-03-07 08:03:43.000000000 -0500 @@ -121,11 +121,7 @@ }; //__________________________________________________________________________________________________ RTTI::RTTI() SAL_THROW( () ) -#if __FreeBSD_version < 602103 : m_hApp( dlopen( 0, RTLD_NOW | RTLD_GLOBAL ) ) -#else - : m_hApp( dlopen( 0, RTLD_LAZY ) ) -#endif { } //__________________________________________________________________________________________________ @@ -160,11 +156,7 @@ buf.append( 'E' ); OString symName( buf.makeStringAndClear() ); -#if __FreeBSD_version < 602103 /* #i22253# */ rtti = (type_info *)dlsym( RTLD_DEFAULT, symName.getStr() ); -#else - rtti = (type_info *)dlsym( m_hApp, symName.getStr() ); -#endif if (rtti) { --=-HSveprsbygMtYuNH7wRD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1244773156.15505.8.camel>