this patch fix the below error when build with --enable-libfreetype
libavfilter/avf_showcqt.c:38:10: error: #include expects "FILENAME" or
<FILENAME>
#include FT_FREETYPE_H
From a13f1e9a60889febe600ab83d481564abb8b005c Mon Sep 17 00:00:00 2001
From: proudzhu <proudzhu....@gmail.com>
Date: Sat, 5 Sep 2015 22:30:20 +0800
Subject: [PATCH] configure: fix build error with freetype2 during
 preprocessing

this patch fix the below error when build with --enable-libfreetype
libavfilter/avf_showcqt.c:38:10: error: #include expects "FILENAME" or
<FILENAME>
 #include FT_FREETYPE_H

Signed-off-by: proudzhu <proudzhu....@gmail.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 91f366e..0417c46 100755
--- a/configure
+++ b/configure
@@ -1258,6 +1258,7 @@ require_libfreetype(){
       && set_safe "${pkg}_cflags" $pkg_cflags \
       && set_safe "${pkg}_libs"   $pkg_libs \
       || die "ERROR: $pkg not found"
+    add_cppflags  $(get_safe "${pkg}_cflags")
     add_cflags    $(get_safe "${pkg}_cflags")
     add_extralibs $(get_safe "${pkg}_libs")
 }
-- 
2.5.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to