Bug 248423

Summary: graphics/graphite2: Linking issues with 1.3.14
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Daniel Engberg <diizzy>
Status: Closed FIXED    
Severity: Affects Only Me CC: jbeich
Priority: --- Flags: bugzilla: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   

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(+)