Bug 299037 - graphics/graphite2: Fix over-linking
Summary: graphics/graphite2: Fix over-linking
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: 297609
  Show dependency tree / graph
 
Reported: 2026-10-02 04:17 UTC by Daniel Engberg
Modified: 2026-10-10 12:12 UTC (History)
2 users (show)

See Also:
fluffy: maintainer-feedback+


Attachments
Patch for graphite2 (1.90 KB, patch)
2026-10-02 04:17 UTC, Daniel Engberg
no flags Details | Diff
Patch for graphite2 v2 (1.48 KB, patch)
2026-10-07 04:56 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2026-10-02 04:17:42 UTC
Created attachment 275297 [details]
Patch for graphite2

Linux and Darwin have "profiles" to prevent over-linking, FreeBSD does not which causes unit tests in some consumers to fail because of it.

This adds a very basic "profile" to prevent over-linking and while at it remove USES= pathfix which isn't used in this port.

Compile and runtime tested on FreeBSD 15.1-RELEASE (amd64) (make, make check-plist, make test)

Poudriere testport OK 14.4-RELEASE (amd64)
Poudriere testport OK 14.4-RELEASE (i386)
Poudriere testport OK 15.1-RELEASE (amd64)
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2026-10-02 19:42:14 UTC
It would be great to have this change upstreamed first.
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2026-10-03 08:19:57 UTC
https://github.com/silnrsi/graphite/pull/108
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2026-10-07 04:56:34 UTC
Created attachment 275478 [details]
Patch for graphite2 v2

Sync with upstream PR 108
Reference: https://github.com/silnrsi/graphite/pull/108
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2026-10-10 11:43:08 UTC
Good to go?
Comment 5 Dima Panov freebsd_committer freebsd_triage 2026-10-10 11:46:02 UTC
LGTM
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-10-10 12:12:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e49fc5fed6d468d61161d3f81118aad41e5c25a

commit 0e49fc5fed6d468d61161d3f81118aad41e5c25a
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-10-10 11:48:07 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-10-10 11:51:05 +0000

    graphics/graphite2: Fix over-linking

    Pull in upsteam PR #108

    Reference: https://github.com/silnrsi/graphite/pull/108

    PR:             299037
    Reviewed by:    office (fluffy)

 graphics/graphite2/Makefile | 6 +++++-
 graphics/graphite2/distinfo | 4 +++-
 2 files changed, 8 insertions(+), 2 deletions(-)
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2026-10-10 12:12:43 UTC
Thanks