Bug 281320 - graphics/ftgl: Fails to build with freetype2 2.13.3
Summary: graphics/ftgl: Fails to build with freetype2 2.13.3
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: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks: 281316
  Show dependency treegraph
 
Reported: 2024-09-07 04:28 UTC by Daniel Engberg
Modified: 2024-09-17 19:01 UTC (History)
0 users

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


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 2024-09-07 04:28:00 UTC
This is more or less abandonware at this point but should be still "fixable"...

Switch to https://github.com/HamzaM3/ftgl , update to latest head and import https://github.com/HamzaM3/ftgl/pulls

Hopefully that doesn't break more things...

References:
https://pdr2.bofh.network/data/141-diizzy/2024-09-06_00h03m58s/logs/errors/ftgl-2.4.0_1,1.log
https://github.com/frankheckenbach/ftgl/issues/18
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2024-09-10 20:38:29 UTC
This should be committed along with freetype update:

https://gist.github.com/AMDmi3/fbbb508fb3a658b842b6a2d80419a783

It includes fixes for ftgl and opencascaed. All ftgl consumers build fine with it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-09-17 18:59:58 UTC
A commit in branch main references this bug:

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

commit d05315b279ff17d98f6a704c8689e8f64ca6e70b
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-09-17 18:54:15 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-09-17 18:54:51 +0000

    graphics/ftgl: Fix build with freetype2 2.13.3

    PR:             281320

 graphics/ftgl/Makefile                               |  2 +-
 graphics/ftgl/files/patch-src_FTContour.cpp (new)    | 11 +++++++++++
 graphics/ftgl/files/patch-src_FTContour.h (new)      | 11 +++++++++++
 graphics/ftgl/files/patch-src_FTVectoriser.cpp (new) | 11 +++++++++++
 4 files changed, 34 insertions(+), 1 deletion(-)
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2024-09-17 19:01:31 UTC
Committed, thanks for the patch and testing!