From 16fe9f5d389aa88c3361a83df801a041ad9b8d3a Mon Sep 17 00:00:00 2001 From: Fernando de Oliveira Date: Fri, 10 Jan 2014 23:37:26 +0000 Subject: [PATCH] sed to fix 'Transcode-1.1.7 fails to build with FreeType-2.5.x (x > 0)'. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12555 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- introduction/welcome/changelog.xml | 5 +++++ multimedia/videoutils/transcode.xml | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index c828271399..f6fe9bb3da 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -46,6 +46,11 @@ January 10th, 2014 + + [fernando] - Transcode-1.1.7 fails to build with + FreeType-2.5.x (x > 0). Fixes + #4538. + [fernando] - Update to dhcpcd-6.2.0. Fixes #4538. diff --git a/multimedia/videoutils/transcode.xml b/multimedia/videoutils/transcode.xml index 41362ba8fa..277b2f29de 100644 --- a/multimedia/videoutils/transcode.xml +++ b/multimedia/videoutils/transcode.xml @@ -148,6 +148,14 @@ + + When building with --enable-freetype2 configure switch, fix the code to + find the header locations for FreeType-2.5.x + (x > 0): + + +sed -i "s:#include <freetype/ftglyph.h>:#include FT_GLYPH_H:" filter/subtitler/load_font.c + Install Transcode by running the following commands: @@ -176,6 +184,11 @@ make Command Explanations + + sed -i ... filter/subtitler/load_font.c: Fixes header + locations for new FreeType-2.5.x (x > 0). + + sed -i ...: Fixes install location for documentation.