[evas] Fix FTBS due to freetype changes

Peter Robinson pbrobinson at fedoraproject.org
Wed May 7 15:29:10 UTC 2014


commit a826ceb5a8d0fdecbb88ae9215edee9984084357
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed May 7 16:29:27 2014 +0100

    Fix FTBS due to freetype changes

 evas-fix-freetype.patch |   12 ++++++++++++
 evas.spec               |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/evas-fix-freetype.patch b/evas-fix-freetype.patch
new file mode 100644
index 0000000..ec4ab4c
--- /dev/null
+++ b/evas-fix-freetype.patch
@@ -0,0 +1,12 @@
+--- evas-1.7.9/src/lib/engines/common/evas_font_load.c.orig	2014-05-07 15:24:02.569997891 +0100
++++ evas-1.7.9/src/lib/engines/common/evas_font_load.c	2014-05-07 15:24:44.070658453 +0100
+@@ -5,7 +5,8 @@
+ 
+ #include "evas_font_private.h" /* for Frame-Queuing support */
+ #include "evas_font_ot.h"
+-#include <freetype/tttables.h> /* Freetype2 OS/2 font table. */
++#include <ft2build.h>
++#include FT_TRUETYPE_TABLES_H
+ 
+ #ifdef EVAS_CSERVE2
+ # include "../../cserve2/evas_cs2_private.h"
diff --git a/evas.spec b/evas.spec
index cda6d35..5f00161 100644
--- a/evas.spec
+++ b/evas.spec
@@ -1,11 +1,12 @@
 Name:           evas
 Version:        1.7.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Hardware-accelerated state-aware canvas API
 Group:          System Environment/Libraries
 License:        MIT
 URL:            http://web.enlightenment.org/p.php?p=about/efl&l=en
 Source0:        http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
+Patch1:         evas-fix-freetype.patch
 
 BuildRequires:  chrpath
 BuildRequires:  eet-devel 
@@ -33,6 +34,7 @@ developing applications that use %{name}.
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch1 -p1 -b .freetype
 
 %build
 %configure --disable-static -enable-fb
@@ -87,6 +89,9 @@ mv %{buildroot}%{_mandir}/man3/Examples.3 %{buildroot}%{_mandir}/man3/%{name}-Ex
 
 
 %changelog
+* Wed May  7 2014 Peter Robinson <pbrobinson at fedoraproject.org> 1.7.9-2
+- Fix FTBS due to freetype changes
+
 * Thu Nov 07 2013 Dan Mashal <dan.mashal at fedoraproject.org> - 1.7.9-1
 - Update to 1.7.9
 


More information about the scm-commits mailing list