Apache OpenOffice (AOO) Bugzilla – Issue 16621
11rc: tools patches for language and getopt
Last modified: 2004-02-15 07:31:01 UTC
Bring in PORTS patch for system language, plus don't use custom getopt defines for gcc 3.3.
Created attachment 7511 [details] cd to tools, patch -p0 < /path/to/patchfile
Hi, Approved for commit to 1.1 once the tree reopens since completely MacOSX specific. Kevin
Created attachment 7554 [details] cd to tools, patch -p0 < /path/to/patchfile SUPERCEDES previous tools.xxx.11rc patches, moves some functions to library rather than headers
Explanation of the 071003 patch differences: The problem was that when linking the vcl, or really any library that used the Time class, certain symbols created in the .eh frame on OS X would not be resolved. At this point these two are the Time( const Time& ) constructor and the = operator functions. The symptom was a link-time error complaining that these symbols should have been defined in Security.framework, which was not being linked in. This is just the linker thinking its smart, but we don't want to link in Security.framework. Therefore, the solution to make sure these symbols are resolved during link time is to make them available in the _tools_ library, not in the header. So moving the implementations into the actual tools library code itself solves the problem, since the compiler will no longer generate the .eh frame code in the project that includes the <tools/time.hxx> file, but rather in the tools library where it can actually be found. This may need to happen for other members of the Time class where conflicts with system frameworks appear. Dan
Hi Dan, Should be fine. Approved for 1.1 Kevin
committed to cws_srx645_ooo11rc2
verfied in 1.1.0.
close issue