freetype: fix staging headers
PATCH 1/1 freetype: fix staging headers
freetype 2.5.1 moved headers from /usr/include/freetype2/freetype to /usr/include/freetype2.
Some packages use a non-recommended header inclusion of <freetype/x.h> instead of using the recommended ft2build.h method, so until it's fixed across the board upstream for packages that break do a symlink.
Fixes:
http://autobuild.buildroot.net/results/64c/64cc8467eeb44f741aeb42bf1a0c77edbfbd285f/
http://autobuild.buildroot.net/results/708/708fa7423c83e22a51854f1abca0f3358506a318/
--- package/freetype/freetype.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/freetype/freetype.mk +7 -0
@@ -57,5 +57,12 @@ define FREETYPE_FIX_CONFIG_FILE_LIBS endef FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE_LIBS +# Version 2.5.1 reorganized headers out of freetype2/freetype +# It's unexpected for some packages so symlink it until it spreads upstream +define FREETYPE_FIX_FREETYPE_INCLUDE + ln -sf . $(STAGING_DIR)/usr/include/freetype2/freetype +endef +FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_FREETYPE_INCLUDE + $(eval $(autotools-package)) $(eval $(host-autotools-package))
Signature · 1 line
1.8.3.2
PATCH 1/1 freetype: fix staging headers
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
freetype 2.5.1 moved headers from
/usr/include/freetype2/freetypeto/usr/include/freetype2.
Some packages use a non-recommended header inclusion of <freetype/x.h> instead of using the recommendedft2build.hmethod, so until it's fixed across the board upstream for packages that break do a symlink.
Quoted 8 lines
Fixes:
http://autobuild.buildroot.net/results/64c/64cc8467eeb44f741aeb42bf1a0c77edbfbd285f/
http://autobuild.buildroot.net/results/708/708fa7423c83e22a51854f1abca0f3358506a318/Signed-off-by Gustavo Zacarias <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard