Apache OpenOffice (AOO) Bugzilla – Issue 5635
OOO_STABLE_1/X11+Aqua: unzip should have OO638C_MacOSX unzip patch
Last modified: 2004-03-25 04:29:10 UTC
To correct the multiple definition problem with inflate().
Created attachment 1888 [details] cd to SRC_ROOT/unzip, patch -p0 < /path/to/patchfile
Created attachment 1926 [details] cd to SRC_ROOT/unzip, patch -p0 < /path/to/patchfile This is a diff against CVS from 6/11/02 10PM CST
Hi, This will impact MacOSX only and so is approved. But where is the system zip library being pulled in to create that synbol conflict? Could this indicate a bug somewhere else in the build that allows the wrong zip library to be linked in someplace (a libz.a from system versus a libz.a built in OOo). I have the same system livel zip libraries but I do not get a similar error. Please double check that this is not indicative of another problem before commiting this. Thanks, Kevin
Kevin, We have to link with "-framework System" which already pulls in zip libraries, and therefore the collision. There is *no* way we can NOT link against System.framework as it it required to also bring in libc and all other system libraries required for linkage. Unfortunately it brings in zip libraries too. Were the another way to get around this, we should do this, but at this time the patch works correctly. Dan
The changes from this issue were incorporated into the PORTS branch with the commit for Issue 6084 whose patch included these patches.
close issue.