summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/directfb/directfb/fix-compilation-with-zlib.patch
diff options
context:
space:
mode:
authorNeena Busireddy <neena.busireddy@freescale.com>2014-12-02 14:49:00 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2014-12-02 19:08:39 -0200
commit88344f10aa6ad8cfbe2a0a175d2986176c72984a (patch)
treeb88e853fe0c38fb93adaf63722433fe19fa7fd66 /recipes-graphics/directfb/directfb/fix-compilation-with-zlib.patch
parenta2ac9a21ba8d3e24f27da471bdc7534b1fe5f5bf (diff)
downloadmeta-fsl-arm-88344f10aa6ad8cfbe2a0a175d2986176c72984a.tar.gz
directfb: Backport to 1.7.1
Directfb 1.7.4 is not compatible with 3.10.31-1.1.0 beta. Preferred version to use for 3.10.31-1.1.0 beta is 1.7.1. Components that are dependent on directfb 1.7.1 fails to build without this change. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics/directfb/directfb/fix-compilation-with-zlib.patch')
-rw-r--r--recipes-graphics/directfb/directfb/fix-compilation-with-zlib.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-graphics/directfb/directfb/fix-compilation-with-zlib.patch b/recipes-graphics/directfb/directfb/fix-compilation-with-zlib.patch
new file mode 100644
index 0000000..8b99b4e
--- /dev/null
+++ b/recipes-graphics/directfb/directfb/fix-compilation-with-zlib.patch
@@ -0,0 +1,29 @@
1Upstream-Status: Pending
2
3From 1d6d597050fc24769e9df2693f754bdc824a8b78 Mon Sep 17 00:00:00 2001
4From: Laurentiu Palcu <laurentiu.palcu@intel.com>
5Date: Tue, 3 Jul 2012 16:06:10 +0300
6Subject: [PATCH] fix compilation with zlib
7
8Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
9---
10 src/core/surface.c | 3 +++
11 1 file changed, 3 insertions(+)
12
13diff --git a/src/core/surface.c b/src/core/surface.c
14index 50434a2..52f50ab 100644
15--- a/src/core/surface.c
16+++ b/src/core/surface.c
17@@ -49,6 +49,9 @@
18 #include <gfx/convert.h>
19 #include <gfx/util.h>
20
21+#ifdef USE_ZLIB
22+#include <zlib.h>
23+#endif
24
25 D_DEBUG_DOMAIN( Core_Surface, "Core/Surface", "DirectFB Core Surface" );
26
27--
281.7.9.5
29