Summary: | science/libkml: Library libminizip.a conflicts with the one of archivers/minizip | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Rainer Hurling <rhurlin> | ||||
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | d8zNeCFG, koobs, lbartoletti, rhurlin | ||||
Priority: | --- | Keywords: | needs-patch, needs-qa | ||||
Version: | Latest | Flags: | koobs:
maintainer-feedback?
(lbartoletti) koobs: maintainer-feedback? (sunpoet) koobs: merge-quarterly? |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Rainer Hurling
![]() ![]() Hi, I have identified the problem. libkml use third party in its code; there have already been a patch for expat. The problem is that the version of MINIZIP used not only very old but modified (libkml _... in sources). I think the easiest way is to keep their version of MINIZIP renaming the libkml_minizip; care should be taken to make links with this "new" lib. Best regards. @code, can/will you provide a patch to resolve this issue (whether make them not conflict, or add CONFLICTS) Created attachment 168897 [details]
patches to science/libkml and graphics/gdal to rename libkml's libminizip to libkmlminizip
Here are my patches to science/libkml and graphics/gdal to get rid of the conflict with the libminizip library from archivers/minizip by renaming libkml's library to libkmlminizip.
Notes:
- I did not check which other ports besides graphics/gdal might need to be patched to live with this modified sciene/libkml.
- The patches also upgrade libkml from version 1.2 to version 1.3, taken directly from the SVN repository. This should probably be fixed to use a regular release file.
Apply the patches in /usr/ports.
-- Martin
A commit references this bug: Author: sunpoet Date: Thu Apr 7 13:28:47 UTC 2016 New revision: 412662 URL: https://svnweb.freebsd.org/changeset/ports/412662 Log: - Resolve conflict with archivers/minizip: rename libminizip to libkmlminizip - Bump PORTREVISION for science/libkml shlib change PR: 206560 (based on) Submitted by: Martin Birgmeier <la5lbtyi@aon.at> Changes: head/graphics/gdal/Makefile head/science/libkml/Makefile head/science/libkml/files/patch-examples-helloworld-Makefile.am head/science/libkml/files/patch-src-kml-base-Makefile.am head/science/libkml/files/patch-third_party-Makefile.am head/science/libkml/pkg-plist Library renaming committed. Thanks! |