From 19ab6e2ca4248ac3a7180b174e4da1d29fb9c8c8 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 18 Jun 2007 10:43:43 +0000 Subject: direcfb 1.0.0 add patch to fix include files for depending programs --- packages/directfb/directfb_1.0.0.bb | 11 ++++++----- packages/directfb/files/fix-includes.patch | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 packages/directfb/files/fix-includes.patch (limited to 'packages/directfb') diff --git a/packages/directfb/directfb_1.0.0.bb b/packages/directfb/directfb_1.0.0.bb index cbeede90ab..caa8dbee8f 100644 --- a/packages/directfb/directfb_1.0.0.bb +++ b/packages/directfb/directfb_1.0.0.bb @@ -7,21 +7,22 @@ SECTION = "libs" LICENSE = "LGPL" HOMEPAGE = "http://directfb.org" DEPENDS = "jpeg libpng freetype zlib tslib" -PR = "r3" +PR = "r4" RV = "1.0-0" SRC_URI = "http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \ file://fix-pkgconfig-specs.patch;patch=1 \ - file://mkdfiff.patch;patch=1 \ - file://getpagesize.patch;patch=1" - + file://mkdfiff.patch;patch=1 \ + file://getpagesize.patch;patch=1 \ + file://fix-includes.patch;patch=1" S = "${WORKDIR}/DirectFB-1.0.0" LDFLAGS_append =" -lts -lm" inherit autotools pkgconfig -EXTRA_OECONF = "--with-gfxdrivers=none \ +EXTRA_OECONF = "\ + --with-gfxdrivers=none \ --enable-libmpeg3=no \ --enable-freetype=yes \ --enable-sdl=no \ diff --git a/packages/directfb/files/fix-includes.patch b/packages/directfb/files/fix-includes.patch new file mode 100644 index 0000000000..0c40cdb3a6 --- /dev/null +++ b/packages/directfb/files/fix-includes.patch @@ -0,0 +1,24 @@ +# +# pkgconfig points to STAGING_INCDIR, hence +# we need to append a directfb/ to make it +# find its header files +# +# Signed-Off: mickey@openmoko.org +# +Index: DirectFB-1.0.0/include/directfb.h +=================================================================== +--- DirectFB-1.0.0.orig/include/directfb.h ++++ DirectFB-1.0.0/include/directfb.h +@@ -29,10 +29,10 @@ + #ifndef __DIRECTFB_H__ + #define __DIRECTFB_H__ + +-#include ++#include + #include /* struct timeval */ + +-#include ++#include + + #ifdef __cplusplus + extern "C" -- cgit v1.2.3