Created attachment 226377 [details]
Patch for fontconfig
Update fontconfig to 2.13.94
Compile and tested on FreeBSD FreeBSD 13.0-STABLE #0 stable/13-n246086-a20c597c6d7 (amd64) (make, make check-plist, make test)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 11.4-RELEASE (amd64)
Compile tested with following ports:
...and appears to work as intended.
Can you give this a try?
(In reply to Daniel Engberg from comment #2)
I have tried it, and it seems to work fine.
By the way, I think it will be nice if we can have doc enabled under an option. The man page is often needed to debug font problems.
desktop@ would like to ask for an exp-run of the provided patch.
exp-run looks fine
A commit in branch main references this bug:
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2021-08-15 06:13:06 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2021-08-15 06:15:36 +0000
x11-fonts/fontconfig: Update to 2.13.94
Approved by: tcberner (mentor)
Exp-run by: antoine
x11-fonts/fontconfig/Makefile | 3 +-
x11-fonts/fontconfig/distinfo | 6 ++--
x11-fonts/fontconfig/files/patch-meson.build | 20 +++++------
.../fontconfig/files/patch-src_fccfg.c (gone) | 42 ----------------------
4 files changed, 14 insertions(+), 57 deletions(-)
(In reply to Ting-Wei Lan from comment #3)
Unfortunately that introduces circular dependency unless we somehow package prebuilt ones.
bug 254963 still applies after the update to 2.13.94
After the update to meson, 'make stage' now tries to run 'fc-cache' (see fc-cache/meson.build) which tries to write to /usr/local rather than work/stage. So, of course, when running 'make stage' as a regular user (poudriere SHOULD be doing this really), you hit permissions problems.
(In reply to Daniel Engberg from comment #7)
If we can install prebuilt man pages, it is much better than providing no man pages at all.
I opened bug 258145 for installing prebuilt documentation files.