From 98015b75f1c9c1886878c208dc21bd7009a81349 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 12 Apr 2014 10:24:51 -0500 Subject: [PATCH] add patch to fix FTBFS due to freetype changes --- fix-freetype-includes.patch | 22 ++++++++++++++++++++++ libXft.spec | 7 ++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 fix-freetype-includes.patch diff --git a/fix-freetype-includes.patch b/fix-freetype-includes.patch new file mode 100644 index 0000000..c40f133 --- /dev/null +++ b/fix-freetype-includes.patch @@ -0,0 +1,22 @@ +Dscription: Fix build failure with freetype 2.5.1 +Author: Juhani Numminen +Bug-Debian: http://bugs.debian.org/733385 + +--- a/src/xftglyphs.c ++++ b/src/xftglyphs.c +@@ -21,10 +21,11 @@ + */ + + #include "xftint.h" +-#include +-#include ++#include ++#include FT_OUTLINE_H ++#include FT_LCD_FILTER_H + +-#include ++#include FT_SYNTHESIS_H + + /* + * Validate the memory info for a font + diff --git a/libXft.spec b/libXft.spec index 354b6cf..053738c 100644 --- a/libXft.spec +++ b/libXft.spec @@ -1,12 +1,13 @@ Summary: X.Org X11 libXft runtime library Name: libXft Version: 2.3.1 -Release: 5%{?dist} +Release: 6%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 +Patch0: fix-freetype-includes.patch BuildRequires: xorg-x11-util-macros BuildRequires: autoconf automake libtool @@ -29,6 +30,7 @@ X.Org X11 libXft development package %prep %setup -q +%patch0 -p1 %build autoreconf -v --install --force @@ -73,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/Xft.3* %changelog +* Sat Apr 12 2014 Dennis Gilmore - 2.3.1-6 +- add patch to fix FTBFS due to freetype changes + * Sat Aug 03 2013 Fedora Release Engineering - 2.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild