Source: vlc
Version: 2.1.1-1
Severity: serious
Tags: patch

Hi,

vlc FTBFS with new freetype 2.5.1-1 like this:

...
../../doltlibtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. 
-I../..  -DMODULE_NAME=$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}") 
-DMODULE_NAME_IS_$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}") 
-DMODULE_STRING=\"$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}")\" -D__PLUGIN__ -I/usr/include/freetype2   
-DHAVE_FONTCONFIG -I/usr/include/fribidi   -DHAVE_FRIBIDI -I../../include 
-I../../include -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -mtune=8548 -Wall 
-Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast 
-Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var 
-Werror-implicit-function-declaration -pipe -fvisibility=hidden -ffast-math 
-funroll-loops -fomit-frame-pointer -c -o libfreetype_plugin_la-freetype.lo 
`test -f 'freetype.c' || echo './'`freetype.c
freetype.c:93:30: fatal error: freetype/ftsynth.h: No such file or directory
compilation terminated.
make[5]: *** [libfreetype_plugin_la-freetype.lo] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/modules/text_renderer'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/«PKGBUILDDIR»/modules/text_renderer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
...

Attaching a patch that fixes this by considering the new location of a header
file.

Thanks in advance,

Roland


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: vlc-2.1.1/modules/text_renderer/freetype.c
===================================================================
--- vlc-2.1.1.orig/modules/text_renderer/freetype.c	2013-09-12 17:18:34.000000000 +0200
+++ vlc-2.1.1/modules/text_renderer/freetype.c	2013-12-05 22:59:07.375288208 +0100
@@ -90,7 +90,7 @@
 #endif
 
 /* Freetype */
-#include <freetype/ftsynth.h>
+#include <ftsynth.h>
 #include FT_FREETYPE_H
 #include FT_GLYPH_H
 #include FT_STROKER_H

Reply via email to