Description: configure: Use pkg-config if freetype-config is unavailable Currently we only try to use freetype-config, but freetype-config is deprecated by upstream. Starting soon freetype-config will not be installed by typical freetype builds anymore. . Use pkg-config if freetype-config is not available. This is identical to how we treat dvdnav-config and dvdread-config. Origin: upstream, commit:38021 Bug-Debian: https://bugs.debian.org/892442 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/configure +++ b/configure @@ -841,7 +841,8 @@ quicktime=auto _macosx_finder=no _macosx_bundle=auto _sortsub=yes -_freetypeconfig='freetype-config' +_freetypeconfig='pkg-config freetype2' +type freetype-config >/dev/null 2>&1 && _freetypeconfig=freetype-config _fribidi=auto _enca=auto _inet6=auto