[oe-commits] org.oe.dev direcfb 1.0.0 add patch to fix include files for depending programs
mickeyl commit
openembedded-commits at lists.openembedded.org
Mon Jun 18 11:01:16 UTC 2007
direcfb 1.0.0 add patch to fix include files for depending programs
Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: bcfbf5d301f308b3a8ae1d53ad25cddcba298064
ViewMTN: http://monotone.openembedded.org/revision.psp?id=bcfbf5d301f308b3a8ae1d53ad25cddcba298064
Files:
1
packages/directfb/files/fix-includes.patch
packages/directfb/directfb_1.0.0.bb
Diffs:
#
# mt diff -rcd60da399e75b9e0b7a3e0a5e36dc5c3e3367ae5 -rbcfbf5d301f308b3a8ae1d53ad25cddcba298064
#
#
#
# add_file "packages/directfb/files/fix-includes.patch"
# content [448a66e861106218de5d39787d0f5d5d6d15eceb]
#
# patch "packages/directfb/directfb_1.0.0.bb"
# from [32d47d6b0bc1a01ed0657e3ca87290dc2fb6e292]
# to [699cc1c17fdd083ceba662b5c2e49634138d9cdc]
#
============================================================
--- packages/directfb/files/fix-includes.patch 448a66e861106218de5d39787d0f5d5d6d15eceb
+++ packages/directfb/files/fix-includes.patch 448a66e861106218de5d39787d0f5d5d6d15eceb
@@ -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 at 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 <dfb_types.h>
++#include <directfb/dfb_types.h>
+ #include <sys/time.h> /* struct timeval */
+
+-#include <directfb_keyboard.h>
++#include <directfb/directfb_keyboard.h>
+
+ #ifdef __cplusplus
+ extern "C"
============================================================
--- packages/directfb/directfb_1.0.0.bb 32d47d6b0bc1a01ed0657e3ca87290dc2fb6e292
+++ packages/directfb/directfb_1.0.0.bb 699cc1c17fdd083ceba662b5c2e49634138d9cdc
@@ -7,21 +7,22 @@ DEPENDS = "jpeg libpng freetype zlib tsl
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 \
More information about the Openembedded-commits
mailing list