Bug 248423 - graphics/graphite2: Linking issues with 1.3.14
Summary: graphics/graphite2: Linking issues with 1.3.14
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-02 10:00 UTC by Daniel Engberg
Modified: 2023-02-20 15:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2020-08-02 10:00:10 UTC
Due to inconsistencies regarding linking between Linux and FreeBSD graphite pulls in more libraries than it should causing "pollution" of users such as harfbuzz.

Discussion:
https://github.com/harfbuzz/harfbuzz/issues/2614
https://github.com/harfbuzz/harfbuzz/issues/2614#issuecomment-667649830 (Potential fix)

Reported to upstream here:
https://github.com/silnrsi/graphite/issues/64
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-02-20 15:12:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=06d5cbc56974c830c2071f8edb2e9ce45853bb3d

commit 06d5cbc56974c830c2071f8edb2e9ce45853bb3d
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-02-20 14:15:47 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-02-20 15:10:31 +0000

    graphics/graphite2: Prevent overlinking library

    Avoid overlinking as it potentially cause issues with consumers
    This also fixes unit tests for harfbuzz

    PR:             248423
    Approved by:    portmgr (build fix and maintainer timeout, 2+ years)

 graphics/graphite2/Makefile | 1 +
 1 file changed, 1 insertion(+)