Summary: | media-video/gpac-0.7.1: fails to build with truetype USE flag and current freetype2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd Feige <Bernd.Feige> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gpac/gpac/pull/1052 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 654792 | ||
Attachments: | Patch to configure |
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59bd97f12ae21d1a47dae7ca0d0ea77569ebca65 commit 59bd97f12ae21d1a47dae7ca0d0ea77569ebca65 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-05-08 18:31:58 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-05-08 18:32:58 +0000 media-video/gpac: Use pkg-config to find freetype Thanks to Bernd Feige who reported the issue and provided a patch. Bug: https://bugs.gentoo.org/655272 Package-Manager: Portage-2.3.36, Repoman-2.3.9 media-video/gpac/files/gpac-freetype.patch | 15 +++++++++++++++ media-video/gpac/gpac-0.7.1.ebuild | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) |
Created attachment 530428 [details, diff] Patch to configure Without the attached patch, compilation fails: ft_font.c:41:10: fatal error: ft2build.h: No such file or directory #include <ft2build.h> ^~~~~~~~~~~~ This is because configure tries to use freetype-config instead of pkg-config to find cflags and libs. The attached patch fixes it.