summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch')
-rw-r--r--meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch b/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
new file mode 100644
index 0000000000..745c561cc0
--- /dev/null
+++ b/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
@@ -0,0 +1,47 @@
1Index: DirectFB-1.1.1/directfb-internal.pc.in
2===================================================================
3--- DirectFB-1.1.1.orig/directfb-internal.pc.in 2007-08-07 21:43:00.000000000 +0200
4+++ DirectFB-1.1.1/directfb-internal.pc.in 2008-07-17 21:00:47.424654304 +0200
5@@ -2,10 +2,10 @@
6 exec_prefix=@exec_prefix@
7 moduledir=@MODULEDIR@
8 moduledirname=@MODULEDIRNAME@
9-includedir=@INTERNALINCLUDEDIR@
10+includedir=@includedir@
11
12 Name: DirectFB-Internal
13 Description: Third party module support package for DirectFB.
14 Version: @VERSION@
15 Requires: directfb = @VERSION@
16-Cflags: @DFB_INTERNAL_CFLAGS@ -I@INTERNALINCLUDEDIR@
17+Cflags: @DFB_INTERNAL_CFLAGS@ -I${includedir}/directfb -I${includedir}
18Index: DirectFB-1.1.1/directfb.pc.in
19===================================================================
20--- DirectFB-1.1.1.orig/directfb.pc.in 2007-12-15 16:23:16.000000000 +0100
21+++ DirectFB-1.1.1/directfb.pc.in 2008-07-17 20:59:58.044985193 +0200
22@@ -9,4 +9,4 @@
23 Requires: fusion direct
24 Libs: -L${libdir} -ldirectfb @THREADLIB@ @OSX_LIBS@
25 Libs.private: -L${libdir} @DYNLIB@ @ZLIB_LIBS@
26-Cflags: @THREADFLAGS@ -I@INCLUDEDIR@
27+Cflags: @THREADFLAGS@ -I${includedir}/directfb
28Index: DirectFB-1.1.1/lib/fusion/fusion.pc.in
29===================================================================
30--- DirectFB-1.1.1.orig/lib/fusion/fusion.pc.in 2007-08-07 21:43:00.000000000 +0200
31+++ DirectFB-1.1.1/lib/fusion/fusion.pc.in 2008-07-17 20:58:07.051338866 +0200
32@@ -8,4 +8,4 @@
33 Version: @VERSION@
34 Requires: direct
35 Libs: -L${libdir} -lfusion
36-Cflags: -I@INCLUDEDIR@
37+Cflags: -I${includedir}/directfb -I${includedir}
38Index: DirectFB-1.1.1/lib/voodoo/voodoo.pc.in
39===================================================================
40--- DirectFB-1.1.1.orig/lib/voodoo/voodoo.pc.in 2007-08-07 21:43:00.000000000 +0200
41+++ DirectFB-1.1.1/lib/voodoo/voodoo.pc.in 2008-07-17 20:58:07.054671842 +0200
42@@ -8,4 +8,4 @@
43 Version: @VERSION@
44 Requires: direct
45 Libs: -L${libdir} -lvoodoo
46-Cflags: -I@INCLUDEDIR@
47+Cflags: -I${includedir}/directfb -I${includedir}